mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
spapr: Add /rtas/ibm,change-msix-capable
QEMU is MSI-X capable and makes it available via ibm,change-msi, so we should indicate this by adding /rtas/ibm,change-msix-capable to the device tree. This is specificed by PAPR. Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2c1aaa819a
commit
a95f99224c
@ -432,6 +432,10 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base,
|
|||||||
_FDT((fdt_property_cell(fdt, "rtas-event-scan-rate",
|
_FDT((fdt_property_cell(fdt, "rtas-event-scan-rate",
|
||||||
RTAS_EVENT_SCAN_RATE)));
|
RTAS_EVENT_SCAN_RATE)));
|
||||||
|
|
||||||
|
if (msi_supported) {
|
||||||
|
_FDT((fdt_property(fdt, "ibm,change-msix-capable", NULL, 0)));
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* According to PAPR, rtas ibm,os-term does not guarantee a return
|
* According to PAPR, rtas ibm,os-term does not guarantee a return
|
||||||
* back to the guest cpu.
|
* back to the guest cpu.
|
||||||
|
Loading…
Reference in New Issue
Block a user