On Fri, 28 Oct 2011, John Baboval wrote: > Don't perform RTC or APIC setup when running in xen mode.
Both are actually emulated in Xen so registering the two devices in Qemu is harmless because they are never going to receive any events from the hypervisor. Thus I would rather keep the difference with the non-xen case smaller and avoid introducing more if (xen_enabled()).