From: Li Zhang <zhlci...@linux.vnet.ibm.com> v1 -> v2: * Convert USB option from char to bool.
v2 -> v3: * Remove global USB option * Get USB option with qemu_opt_get_bool(). * Send vga patch for sPAPR which requires USB enabled. v3 -> v4: * Fix some English grammar and coding style faults * Replace usb_on with add_usb to be more functional. * Remove vga init functions' declearations from pc.h, and add one new file vga-pci.h for the declearations. * Cleanup pc.h on some platforms and add vga-pci.h * Remove graphic devices which are not supported on sPAPR platform. They will be added back when they are supported. v4 -> v5: * Correct several English words * Add header file "qemu-comman.h" in vga-pci.h, which defines PCIBus and DeviceState types. Move #endif to the end of the vga-pci.h and remove the trailing white line. Benjamin Herrenschmidt (1): spapr: Add support for -vga option Li Zhang (3): Add usb option in machine options Add one new file vga-pci.h Cleanup pc.h on other platforms hw/alpha_pci.c | 1 + hw/cirrus_vga.c | 2 +- hw/mips_malta.c | 1 + hw/pc.c | 1 + hw/pc.h | 4 ---- hw/ppc_newworld.c | 2 +- hw/ppc_oldworld.c | 2 +- hw/ppc_prep.c | 1 + hw/spapr.c | 40 +++++++++++++++++++++++++++++++++++++++- hw/sun4u.c | 1 + hw/vga-pci.c | 2 +- hw/vga-pci.h | 13 +++++++++++++ qemu-config.c | 4 ++++ 13 files changed, 65 insertions(+), 9 deletions(-) create mode 100644 hw/vga-pci.h -- 1.7.9.5