mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
qemu: add qemuDomainAssignVirtioMMIOAddresses()
We're going to need to assign virtio-mmio addresses to non-ARM guests soon, so let's create a generic wrapper that calls to the architecture-specific implementation. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
ee57f38c46
commit
db98a426a6
@ -485,6 +485,14 @@ qemuDomainAssignARMVirtioMMIOAddresses(virDomainDefPtr def,
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
qemuDomainAssignVirtioMMIOAddresses(virDomainDefPtr def,
|
||||
virQEMUCapsPtr qemuCaps)
|
||||
{
|
||||
qemuDomainAssignARMVirtioMMIOAddresses(def, qemuCaps);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* qemuDomainDeviceCalculatePCIConnectFlags:
|
||||
*
|
||||
@ -2923,7 +2931,7 @@ qemuDomainAssignAddresses(virDomainDefPtr def,
|
||||
if (qemuDomainAssignS390Addresses(def, qemuCaps) < 0)
|
||||
return -1;
|
||||
|
||||
qemuDomainAssignARMVirtioMMIOAddresses(def, qemuCaps);
|
||||
qemuDomainAssignVirtioMMIOAddresses(def, qemuCaps);
|
||||
|
||||
if (qemuDomainAssignPCIAddresses(def, qemuCaps, driver, obj) < 0)
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user