Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Adding breaktrace & disabling timer migration"
[kvmfornfv.git]
/
qemu
/
hw
/
intc
/
openpic.c
diff --git
a/qemu/hw/intc/openpic.c
b/qemu/hw/intc/openpic.c
index
14ab0e3
..
2d37693
100644
(file)
--- a/
qemu/hw/intc/openpic.c
+++ b/
qemu/hw/intc/openpic.c
@@
-33,6
+33,7
@@
* Serial interrupts, as implemented in Raven chipset are not supported yet.
*
*/
* Serial interrupts, as implemented in Raven chipset are not supported yet.
*
*/
+#include "qemu/osdep.h"
#include "hw/hw.h"
#include "hw/ppc/mac.h"
#include "hw/pci/pci.h"
#include "hw/hw.h"
#include "hw/ppc/mac.h"
#include "hw/pci/pci.h"
@@
-40,6
+41,7
@@
#include "hw/ppc/ppc_e500.h"
#include "hw/sysbus.h"
#include "hw/pci/msi.h"
#include "hw/ppc/ppc_e500.h"
#include "hw/sysbus.h"
#include "hw/pci/msi.h"
+#include "qapi/error.h"
#include "qemu/bitops.h"
#include "qapi/qmp/qerror.h"
#include "qemu/bitops.h"
#include "qapi/qmp/qerror.h"
@@
-1374,7
+1376,7
@@
static void fsl_common_init(OpenPICState *opp)
opp->irq_msi = 224;
opp->irq_msi = 224;
- msi_
supported
= true;
+ msi_
nonbroken
= true;
for (i = 0; i < opp->fsl->max_ext; i++) {
opp->src[i].level = false;
}
for (i = 0; i < opp->fsl->max_ext; i++) {
opp->src[i].level = false;
}
@@
-1643,6
+1645,7
@@
static void openpic_class_init(ObjectClass *oc, void *data)
dc->props = openpic_properties;
dc->reset = openpic_reset;
dc->vmsd = &vmstate_openpic;
dc->props = openpic_properties;
dc->reset = openpic_reset;
dc->vmsd = &vmstate_openpic;
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
}
static const TypeInfo openpic_info = {
}
static const TypeInfo openpic_info = {