Disabling some devices from build is a frequently requested feature. Provide means to disable vmware_vga, vmmouse and HPET.
Blue Swirl (10): vmware_vga: refactor device creation qdev: add creation function that may fail pci: add creation functions that may fail x86,MIPS: make vmware_vga optional vmport: convert to qdev vmmouse: convert to qdev isa: add creation function that may fail x86: make vmmouse optional sysbus: add creation function that may fail hpet: make optional Makefile.objs | 2 + Makefile.target | 2 +- default-configs/i386-softmmu.mak | 2 + default-configs/x86_64-softmmu.mak | 2 + hw/hpet.c | 2 - hw/isa-bus.c | 12 +++++++ hw/isa.h | 1 + hw/mips_malta.c | 6 +++- hw/pc.c | 29 ++++++++++++----- hw/pc.h | 6 +-- hw/pc_piix.c | 2 - hw/pci.c | 20 ++++++++++++ hw/pci.h | 4 ++ hw/qdev.c | 14 ++++++++- hw/qdev.h | 1 + hw/sysbus.c | 31 ++++++++++++++++++ hw/sysbus.h | 9 +++++ hw/vmmouse.c | 61 +++++++++++++++++------------------- hw/vmport.c | 43 +++++++++++++++++++++++-- hw/vmware_vga.c | 5 --- hw/vmware_vga.h | 12 ++++++- 21 files changed, 205 insertions(+), 61 deletions(-)