qemu/hw/i386/kvm
Bui Quang Minh 774204cf98 apic, i386/tcg: add x2apic transitions
This commit adds support for x2APIC transitions when writing to
MSR_IA32_APICBASE register and finally adds CPUID_EXT_X2APIC to
TCG_EXT_FEATURES.

The set_base in APICCommonClass now returns an integer to indicate error in
execution. apic_set_base return -1 on invalid APIC state transition,
accelerator can use this to raise appropriate exception.

Signed-off-by: Bui Quang Minh <minhquangbui99@gmail.com>
Message-Id: <20240111154404.5333-4-minhquangbui99@gmail.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-02-14 06:09:32 -05:00
..
apic.c apic, i386/tcg: add x2apic transitions 2024-02-14 06:09:32 -05:00
clock.c hw/i386: Constify VMState 2023-12-29 11:17:30 +11:00
clock.h hw/i386: Rename 'hw/kvm/clock.h' -> 'hw/i386/kvm/clock.h' 2023-08-31 19:47:43 +02:00
i8254.c kvm: i8254: require KVM_CAP_PIT2 and KVM_CAP_PIT_STATE2 2023-10-25 19:53:38 +02:00
i8259.c hw/intc: Extract the IRQ counting functions into a separate file 2023-01-13 16:22:57 +01:00
ioapic.c sysemu/kvm: Restrict kvm_pc_setup_irq_routing() to x86 targets 2023-09-07 13:32:37 +02:00
meson.build hw/xen: add support for Xen primary console in emulated mode 2023-11-07 08:54:20 +00:00
trace-events hw/xen: add support for Xen primary console in emulated mode 2023-11-07 08:54:20 +00:00
trace.h hw/xen: Implement emulated PIRQ hypercall support 2023-03-01 09:09:01 +00:00
xen_evtchn.c qemu/main-loop: rename QEMU_IOTHREAD_LOCK_GUARD to BQL_LOCK_GUARD 2024-01-08 10:45:43 -05:00
xen_evtchn.h hw/xen: Simplify emulated Xen platform init 2023-06-07 15:07:10 +01:00
xen_gnttab.c qemu/main-loop: rename QEMU_IOTHREAD_LOCK_GUARD to BQL_LOCK_GUARD 2024-01-08 10:45:43 -05:00
xen_gnttab.h hw/xen: Implement soft reset for emulated gnttab 2023-03-07 17:04:30 +00:00
xen_overlay.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
xen_overlay.h hw/xen: Support mapping grant frames 2023-03-01 09:07:52 +00:00
xen_primary_console.c hw/xen: add support for Xen primary console in emulated mode 2023-11-07 08:54:20 +00:00
xen_primary_console.h hw/xen: add support for Xen primary console in emulated mode 2023-11-07 08:54:20 +00:00
xen_xenstore.c system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
xen_xenstore.h hw/xen: Add xen_xenstore device for xenstore emulation 2023-03-01 09:08:26 +00:00
xen-stubs.c hw/xen: add support for Xen primary console in emulated mode 2023-11-07 08:54:20 +00:00
xenstore_impl.c i386: spelling fixes 2023-09-20 07:54:34 +03:00
xenstore_impl.h hw/xen: Add xenstore operations to allow redirection to internal emulation 2023-03-07 17:04:30 +00:00