[PATCH 0/5] x86: allow building without PC machine types

Paolo Bonzini posted 5 patches 6 years, 1 month ago
Test asan failed
Test checkpatch failed
Test FreeBSD failed
Test docker-mingw@fedora failed
Test docker-clang@ubuntu failed
Test docker-quick@centos7 failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1576161021-5359-1-git-send-email-pbonzini@redhat.com
Maintainers: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Eduardo Habkost <ehabkost@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Richard Henderson <rth@twiddle.net>, Marcelo Tosatti <mtosatti@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
hw/i386/Makefile.objs     |   6 +--
hw/i386/fw_cfg.c          |   7 ++++
hw/i386/kvm/Makefile.objs |   6 ++-
hw/i386/pc.c              | 101 ----------------------------------------------
hw/i386/x86.c             | 101 ++++++++++++++++++++++++++++++++++++++++++++++
hw/pci/pci-stub.c         |  27 +++++++++++++
include/hw/i386/pc.h      |  12 ------
include/hw/i386/x86.h     |  13 ++++++
roms/SLOF                 |   2 +-
target/i386/kvm.c         |  11 ++++-
10 files changed, 166 insertions(+), 120 deletions(-)
[PATCH 0/5] x86: allow building without PC machine types
Posted by Paolo Bonzini 6 years, 1 month ago
With this series it is possible to build QEMU with this configuration:

   CONFIG_MICROVM=y
   CONFIG_SERIAL_ISA=y
   CONFIG_VIRTIO=y
   CONFIG_VIRTIO_BALLOON=y
   CONFIG_VIRTIO_BLK=y
   CONFIG_VIRTIO_NET=y
   CONFIG_VIRTIO_RNG=y
   CONFIG_VIRTIO_SCSI=y
   CONFIG_VIRTIO_SERIAL=y
   CONFIG_WDT_IB700=y
   CONFIG_I8254=y

Thanks,

Paolo

Paolo Bonzini (5):
  i386: conditionally compile more files
  fw_cfg: allow building without other devices
  x86: move more functions to X86MachineState and x86.c
  pci-stub: add more MSI functions
  kvm: check before accessing PCMachineState fields

 hw/i386/Makefile.objs     |   6 +--
 hw/i386/fw_cfg.c          |   7 ++++
 hw/i386/kvm/Makefile.objs |   6 ++-
 hw/i386/pc.c              | 101 ----------------------------------------------
 hw/i386/x86.c             | 101 ++++++++++++++++++++++++++++++++++++++++++++++
 hw/pci/pci-stub.c         |  27 +++++++++++++
 include/hw/i386/pc.h      |  12 ------
 include/hw/i386/x86.h     |  13 ++++++
 roms/SLOF                 |   2 +-
 target/i386/kvm.c         |  11 ++++-
 10 files changed, 166 insertions(+), 120 deletions(-)

-- 
1.8.3.1