|
From: | Paolo Bonzini |
Subject: | [Qemu-devel] Re: [PATCH 0/4] fix/add CONFIG_* options for VMWare device emulation |
Date: | Wed, 02 Feb 2011 08:55:14 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 02/01/2011 07:10 PM, Blue Swirl wrote:
One way to solve this which would preserve the device model would be to add stub devices. For example, hw/vmmouse-stub.c would be: void *vmmouse_init(void *m) { return NULL; }
This is the wrong direction, unless you can somehow automatically generate the stub file.
The only other solution I can think of is weak symbols. There are subtle differences between Windows and Linux weak symbols, but luckily we do not care about it. See http://cygwin.com/ml/cygwin/2010-04/msg00281.html
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |