mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
xen-platform: allow its creation with XEN_EMULATE mode
The only thing we need to fix to make this build is the PIO hack which sets the BIOS memory areas to R/W v.s. R/O. Theoretically we could hook that up to the PAM registers on the emulated PIIX, but in practice nobody cares, so just leave it doing nothing. Now it builds without actual Xen, move it to CONFIG_XEN_BUS to include it in the KVM-only builds. Signed-off-by: Joao Martins <joao.m.martins@oracle.com> Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org>
This commit is contained in:
parent
3bb1ebac6c
commit
bb346fae38
2 changed files with 30 additions and 14 deletions
|
@ -2,6 +2,9 @@ i386_ss.add(when: 'CONFIG_XEN', if_true: files(
|
|||
'xen-hvm.c',
|
||||
'xen-mapcache.c',
|
||||
'xen_apic.c',
|
||||
'xen_platform.c',
|
||||
'xen_pvdevice.c',
|
||||
))
|
||||
|
||||
i386_ss.add(when: 'CONFIG_XEN_BUS', if_true: files(
|
||||
'xen_platform.c',
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue