Trivial patches for 4.0 (2019-01-09)
-----BEGIN PGP SIGNATURE----- iQIcBAABAgAGBQJcNfHyAAoJEPMMOL0/L748NakQAKzjmZjQ9Qz2fVS/AUuk1weW 0ySDiWU/cm+oGRW2E40+OggaoJnfitWrYY8cDSkOKKWlK+kFM2Dlfv8M50pg+JsK IhcFWUcOUHEbJjjyMbkKkl2Yl/RIvr9/IJHDt6wB28jpvqN9nlkBaiXeC7yuiLYN XAxf4TbuHstKqHEnDBXjFzY+IiaGMn1ffmOoHdItslFhiYeut6ucs8786D+CKWBx jcesXidhxGsuu+8zNZy1y7m29ccHgsb7LCZN0Hs6mV8tYD0vQv1UVDTx0jPWzON9 1+LzdaeLlpk7LZTDa4wCnhoAb0usESQ5mjo3+q4Tq2pjZlYBCzDmFK43BNSlmfUC s//XVGUZBB7reeItwwInIoedoiQTubxDNBzTKZIKzKr0y8JhtMJn6nZVQPbRrh9v TBzPmU1P+GBB1WAjDXrID6ipffTt0gGOqCFmdHtXeun3Jiy+En2XSX4NTcpkbH7s Lyi8DBxCCjq9y242ZuC7f7bseH/0Rle7CUXktbTtjemyAVzo5iVkZi//zb0iGtck e9r7hqoUN5mAAkgqKdeCzwfa0/1FCKPrYbnPGHKtpg5FKkd2axDwH6mB4LLbfITh APSaNevBPfyeid7cyo/XXldE1WJ2D/Sqaz49ZASDTb338tSQZbr/MIQV2ERb7xGM WBYh4N7BLcO46CPkb7yB =dgV0 -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/vivier2/tags/trivial-patches-pull-request' into staging Trivial patches for 4.0 (2019-01-09) # gpg: Signature made Wed 09 Jan 2019 13:06:58 GMT # gpg: using RSA key F30C38BD3F2FBE3C # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" # gpg: aka "Laurent Vivier <laurent@vivier.eu>" # gpg: aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C * remotes/vivier2/tags/trivial-patches-pull-request: ioapic: use TYPE_FOO MACRO than constant string trivial: Don't include isa.h if it is not really necessary hw/audio/marvell: Don't include unnecessary i2c.h header file qom: Include qemu/fprintf-fn.h in cpu.h hw/core: fix whitespace in a sentence typedefs: (Re-)sort entries alphabetically Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
d246ff5d39
@ -12,7 +12,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/i2c/i2c.h"
|
||||
#include "hw/audio/wm8750.h"
|
||||
#include "audio/audio.h"
|
||||
#include "qapi/error.h"
|
||||
|
@ -919,7 +919,7 @@ static void machine_class_init(ObjectClass *oc, void *data)
|
||||
object_class_property_add_bool(oc, "dump-guest-core",
|
||||
machine_get_dump_guest_core, machine_set_dump_guest_core, &error_abort);
|
||||
object_class_property_set_description(oc, "dump-guest-core",
|
||||
"Include guest memory in a core dump", &error_abort);
|
||||
"Include guest memory in a core dump", &error_abort);
|
||||
|
||||
object_class_property_add_bool(oc, "mem-merge",
|
||||
machine_get_mem_merge, machine_set_mem_merge, &error_abort);
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "qapi/error.h"
|
||||
#include "hw/loader.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "hw/display/ramfb.h"
|
||||
#include "ui/console.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
|
@ -163,7 +163,7 @@ static void kvm_ioapic_class_init(ObjectClass *klass, void *data)
|
||||
}
|
||||
|
||||
static const TypeInfo kvm_ioapic_info = {
|
||||
.name = "kvm-ioapic",
|
||||
.name = TYPE_KVM_IOAPIC,
|
||||
.parent = TYPE_IOAPIC_COMMON,
|
||||
.instance_size = sizeof(KVMIOAPICState),
|
||||
.class_init = kvm_ioapic_class_init,
|
||||
|
@ -2339,9 +2339,9 @@ void ioapic_init_gsi(GSIState *gsi_state, const char *parent_name)
|
||||
unsigned int i;
|
||||
|
||||
if (kvm_ioapic_in_kernel()) {
|
||||
dev = qdev_create(NULL, "kvm-ioapic");
|
||||
dev = qdev_create(NULL, TYPE_KVM_IOAPIC);
|
||||
} else {
|
||||
dev = qdev_create(NULL, "ioapic");
|
||||
dev = qdev_create(NULL, TYPE_IOAPIC);
|
||||
}
|
||||
if (parent_name) {
|
||||
object_property_add_child(object_resolve_path(parent_name, NULL),
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "sysemu/dma.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "hw/ide/pci.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "sysemu/block-backend.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/blockdev.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/pci/pci.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/dma.h"
|
||||
|
||||
|
@ -429,7 +429,7 @@ static void ioapic_class_init(ObjectClass *klass, void *data)
|
||||
}
|
||||
|
||||
static const TypeInfo ioapic_info = {
|
||||
.name = "ioapic",
|
||||
.name = TYPE_IOAPIC,
|
||||
.parent = TYPE_IOAPIC_COMMON,
|
||||
.instance_size = sizeof(IOAPICCommonState),
|
||||
.class_init = ioapic_class_init,
|
||||
|
@ -38,7 +38,6 @@
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "hw/ppc/mac_dbdma.h"
|
||||
#include "qemu/main-loop.h"
|
||||
#include "qemu/log.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "cpu.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "net/net.h"
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "hw/boards.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "sysemu/sysemu.h"
|
||||
#include "sysemu/dma.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "hw/nvram/fw_cfg.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "trace.h"
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "net/net.h"
|
||||
#include "hw/boards.h"
|
||||
#include "hw/scsi/esp.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "hw/nvram/sun_nvram.h"
|
||||
#include "hw/nvram/chrp_nvram.h"
|
||||
#include "hw/nvram/fw_cfg.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/hw.h"
|
||||
#include "hw/isa/isa.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "hw/timer/i8254.h"
|
||||
#include "hw/timer/i8254_internal.h"
|
||||
|
@ -23,6 +23,9 @@
|
||||
#define IOAPIC_NUM_PINS 24
|
||||
#define IO_APIC_DEFAULT_ADDRESS 0xfec00000
|
||||
|
||||
#define TYPE_KVM_IOAPIC "kvm-ioapic"
|
||||
#define TYPE_IOAPIC "ioapic"
|
||||
|
||||
void ioapic_eoi_broadcast(int vector);
|
||||
|
||||
#endif /* HW_IOAPIC_H */
|
||||
|
@ -4,7 +4,7 @@
|
||||
/* A load of opaque types so that device init declarations don't have to
|
||||
pull in all the real definitions. */
|
||||
|
||||
/* Please keep this list in alphabetical order */
|
||||
/* Please keep this list in case-insensitive alphabetical order */
|
||||
typedef struct AdapterInfo AdapterInfo;
|
||||
typedef struct AddressSpace AddressSpace;
|
||||
typedef struct AioContext AioContext;
|
||||
@ -40,6 +40,7 @@ typedef struct HCIInfo HCIInfo;
|
||||
typedef struct HVFX86EmulatorState HVFX86EmulatorState;
|
||||
typedef struct I2CBus I2CBus;
|
||||
typedef struct I2SCodec I2SCodec;
|
||||
typedef struct IOMMUMemoryRegion IOMMUMemoryRegion;
|
||||
typedef struct ISABus ISABus;
|
||||
typedef struct ISADevice ISADevice;
|
||||
typedef struct IsaDma IsaDma;
|
||||
@ -49,7 +50,6 @@ typedef struct MachineState MachineState;
|
||||
typedef struct MemoryListener MemoryListener;
|
||||
typedef struct MemoryMappingList MemoryMappingList;
|
||||
typedef struct MemoryRegion MemoryRegion;
|
||||
typedef struct IOMMUMemoryRegion IOMMUMemoryRegion;
|
||||
typedef struct MemoryRegionCache MemoryRegionCache;
|
||||
typedef struct MemoryRegionSection MemoryRegionSection;
|
||||
typedef struct MigrationIncomingState MigrationIncomingState;
|
||||
@ -84,6 +84,8 @@ typedef struct PostcopyDiscardState PostcopyDiscardState;
|
||||
typedef struct Property Property;
|
||||
typedef struct PropertyInfo PropertyInfo;
|
||||
typedef struct PS2State PS2State;
|
||||
typedef struct QBool QBool;
|
||||
typedef struct QDict QDict;
|
||||
typedef struct QEMUBH QEMUBH;
|
||||
typedef struct QemuConsole QemuConsole;
|
||||
typedef struct QemuDmaBuf QemuDmaBuf;
|
||||
@ -93,12 +95,10 @@ typedef struct QemuMutex QemuMutex;
|
||||
typedef struct QemuOpt QemuOpt;
|
||||
typedef struct QemuOpts QemuOpts;
|
||||
typedef struct QemuOptsList QemuOptsList;
|
||||
typedef struct QemuSpin QemuSpin;
|
||||
typedef struct QEMUSGList QEMUSGList;
|
||||
typedef struct QemuSpin QemuSpin;
|
||||
typedef struct QEMUTimer QEMUTimer;
|
||||
typedef struct QEMUTimerListGroup QEMUTimerListGroup;
|
||||
typedef struct QBool QBool;
|
||||
typedef struct QDict QDict;
|
||||
typedef struct QJSON QJSON;
|
||||
typedef struct QList QList;
|
||||
typedef struct QNull QNull;
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "exec/memattrs.h"
|
||||
#include "qapi/qapi-types-run-state.h"
|
||||
#include "qemu/bitmap.h"
|
||||
#include "qemu/fprintf-fn.h"
|
||||
#include "qemu/rcu_queue.h"
|
||||
#include "qemu/queue.h"
|
||||
#include "qemu/thread.h"
|
||||
|
Loading…
Reference in New Issue
Block a user