|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v7 12/32] xen/x86: add bitmap of enabled emulated devices
On 10/02/2015 11:48 AM, Roger Pau Monne wrote: Introduce a bitmap in x86 xen_arch_domainconfig that allows enabling or disabling specific devices emulated inside of Xen for HVM guests. ... What about PIT? Should we (initially) disable it as well?I (by mistake) enabled it in my guest and crashed the hypervisor due to unprotected access to vlapic in pt_update_irq(). I started fixing it but then realized that perhaps we shouldn't have PIT at all. Which did solve my problems. (Regardless of whether we have PIT we should probably guard vlapic_accept_pit_interrupt() in pit_irq_masked() with has_vlapic()) -boris + +#define XEN_X86_EMU_ALL (XEN_X86_EMU_LAPIC | XEN_X86_EMU_HPET | \ + XEN_X86_EMU_PMTIMER | XEN_X86_EMU_RTC | \ + XEN_X86_EMU_IOAPIC | XEN_X86_EMU_PIC | \ + XEN_X86_EMU_VGA | XEN_X86_EMU_IOMMU) + uint32_t emulation_flags; }; #endif _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |