mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +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,
|
||||
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;
|
||||
|
||||
if (STREQ(def->os.machine, "versatilepb"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user