Re: [PATCH v8 1/5] i386/tcg: implement x2APIC registers MSR access

2023-10-24 Thread Bui Quang Minh
On 10/22/23 20:59, Phil Dennis-Jordan wrote: I can confirm that this works. The build issue obviously needs fixing, but once that's fixed, this improves on the status quo. I've tested this and patch 2/5 with x2apic CPUID bit enabled with the hvf backend on macOS. To make it work in hvf mode, I u

Re: [PATCH v8 1/5] i386/tcg: implement x2APIC registers MSR access

2023-10-22 Thread Phil Dennis-Jordan
I can confirm that this works. The build issue obviously needs fixing, but once that's fixed, this improves on the status quo. I've tested this and patch 2/5 with x2apic CPUID bit enabled with the hvf backend on macOS. To make it work in hvf mode, I used the attached additional minimal patch to wi

[PATCH v8 1/5] i386/tcg: implement x2APIC registers MSR access

2023-09-26 Thread Bui Quang Minh
This commit refactors apic_mem_read/write to support both MMIO access in xAPIC and MSR access in x2APIC. Reviewed-by: Michael S. Tsirkin Signed-off-by: Bui Quang Minh --- hw/intc/apic.c | 79 ++-- hw/intc/trace-events | 4 +- includ