aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authorAnthony PERARD <anthony.perard@citrix.com>2011-05-03 17:06:54 +0100
committerAlexander Graf <agraf@suse.de>2011-05-08 10:10:00 +0200
commit1611977c3d8fdbdac6090cbd1f5555cee4aed6d9 (patch)
treef5e1f49754b7d3734ce87ed51f482c2a195f0b57 /hw/pc.h
parent29d3ccde82a0d782b81da39342fb3e3bcf547537 (diff)
pc, Disable vmport initialisation with Xen.
This is because there is not synchronisation of the vcpu register between Xen and QEMU, so vmport can't work properly. This patch introduces no_vmport parameter to pc_basic_device_init. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/pc.h b/hw/pc.h
index b7ee7f8518..6d5730b26b 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -137,7 +137,8 @@ void pc_memory_init(const char *kernel_filename,
qemu_irq *pc_allocate_cpu_irq(void);
void pc_vga_init(PCIBus *pci_bus);
void pc_basic_device_init(qemu_irq *isa_irq,
- ISADevice **rtc_state);
+ ISADevice **rtc_state,
+ bool no_vmport);
void pc_init_ne2k_isa(NICInfo *nd);
void pc_cmos_init(ram_addr_t ram_size, ram_addr_t above_4g_mem_size,
const char *boot_device,