Re: [PATCH v2 6/8] x86: move more x86-generic functions out of PC files

2020-01-08 Thread Paolo Bonzini
Yes, I am preparing a pull request now. Paolo Il mer 8 gen 2020, 09:04 Gerd Hoffmann ha scritto: > On Thu, Dec 12, 2019 at 06:29:12PM +0100, Paolo Bonzini wrote: > > These are needed by microvm too, so move them outside of PC-specific > files. > > With this patch, microvm.c need not include pc.

Re: [PATCH v2 6/8] x86: move more x86-generic functions out of PC files

2020-01-08 Thread Gerd Hoffmann
On Thu, Dec 12, 2019 at 06:29:12PM +0100, Paolo Bonzini wrote: > These are needed by microvm too, so move them outside of PC-specific files. > With this patch, microvm.c need not include pc.h anymore. > > Signed-off-by: Paolo Bonzini Current master does not work with libvirt ... $ virsh start f

[PATCH v2 6/8] x86: move more x86-generic functions out of PC files

2019-12-12 Thread Paolo Bonzini
These are needed by microvm too, so move them outside of PC-specific files. With this patch, microvm.c need not include pc.h anymore. Signed-off-by: Paolo Bonzini --- hw/i386/acpi-build.c | 1 + hw/i386/fw_cfg.c | 1 - hw/i386/fw_cfg.h | 2 + hw/i386/kvm/ioapic.c | 2 +- hw/i