diff options
| author | Li Qiang | 2019-01-05 03:38:31 +0100 |
|---|---|---|
| committer | Laurent Vivier | 2019-01-09 11:33:47 +0100 |
| commit | 34bec7a8d04f23d6258dcf338894956b945673a5 (patch) | |
| tree | 2807c9ac3753cd1e722318b46e64a26af5af8be4 /include | |
| parent | trivial: Don't include isa.h if it is not really necessary (diff) | |
| download | qemu-34bec7a8d04f23d6258dcf338894956b945673a5.tar.gz qemu-34bec7a8d04f23d6258dcf338894956b945673a5.tar.xz qemu-34bec7a8d04f23d6258dcf338894956b945673a5.zip | |
ioapic: use TYPE_FOO MACRO than constant string
Make them more QOMConventional.
Cc:qemu-trivial@nongnu.org
Signed-off-by: Li Qiang <liq3ea@163.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20190105023831.66910-1-liq3ea@163.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/i386/ioapic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/i386/ioapic.h b/include/hw/i386/ioapic.h index 9c8816f11f..59fcb158a7 100644 --- a/include/hw/i386/ioapic.h +++ b/include/hw/i386/ioapic.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 */ |
