diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-02-07 09:21:19 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-02-07 09:21:19 +0000 |
commit | 47ea4d5c24b977228a1465d1c6af8206e0e360d4 (patch) | |
tree | 9aa5f5de5eeea0fe909cf6e1d2e14234337dfcc1 /unmodified_drivers/linux-2.6/platform-pci/panic-handler.c | |
parent | 7189dd2eeb4028b3810740afaca85473f4b51aa9 (diff) | |
download | xen-47ea4d5c24b977228a1465d1c6af8206e0e360d4.tar.gz xen-47ea4d5c24b977228a1465d1c6af8206e0e360d4.tar.bz2 xen-47ea4d5c24b977228a1465d1c6af8206e0e360d4.zip |
ioemu: avoid name clashes due to LIST_* macros
Here is what I wrote in my submission to qemu upstream:
qemu's audio subdirectory contains a copy of BSD's sys-queue.h, which
defines a bunch of LIST_ macros. This makes it difficult to build a
program made partly out of qemu and partly out of the Linux
kernel[1], since Linux has a different set of LIST_ macros. It might
also cause trouble when mixing with BSD-derived code.
Under the circumstances it's probably best to rename the versions in
qemu. The attached patch does this.
[1] You might well ask why anyone would want to do this. In Xen we
are moving our emulation of IO devices from processes which run on
the host into a dedicated VM (one per actual VM) which we call a
`stub domain'. This dedicated VM runs a very cut-down `operating
system' which uses some code from Linux.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/platform-pci/panic-handler.c')
0 files changed, 0 insertions, 0 deletions