mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: RISC-V machines have no PCI
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
2faf932266
commit
93f165331d
@ -2157,7 +2157,9 @@ static bool
|
|||||||
qemuDomainSupportsPCI(virDomainDefPtr def,
|
qemuDomainSupportsPCI(virDomainDefPtr def,
|
||||||
virQEMUCapsPtr qemuCaps)
|
virQEMUCapsPtr qemuCaps)
|
||||||
{
|
{
|
||||||
if ((def->os.arch != VIR_ARCH_ARMV7L) && (def->os.arch != VIR_ARCH_AARCH64))
|
if ((def->os.arch != VIR_ARCH_ARMV7L) &&
|
||||||
|
(def->os.arch != VIR_ARCH_AARCH64) &&
|
||||||
|
!ARCH_IS_RISCV(def->os.arch))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (STREQ(def->os.machine, "versatilepb"))
|
if (STREQ(def->os.machine, "versatilepb"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user