PATCH add q35 support ide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello everyone:
    In q35 motherboard use ide,  Currently, the qemu has supported q35 Motherboard support ide bus


diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index cc7596b..2dbade8 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -7188,6 +7188,7 @@ bool
 qemuDomainMachineHasBuiltinIDE(const char *machine)
 {
     return qemuDomainMachineIsI440FX(machine) ||
+        qemuDomainMachineIsQ35(machine) ||
         STREQ(machine, "malta") ||
         STREQ(machine, "sun4u") ||
         STREQ(machine, "g3beige");




[root@kvm ~]# virsh dumpxml instance-00000004 | grep machine=
    <type arch='x86_64' machine='pc-q35-rhel7.3.0'>hvm</type>
[root@kvm~]# 
[root@kvm~]# virsh dumpxml instance-00000004 | grep "'disk'" -A 13
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/nova/instances/288271ce-69eb-4629-b98c-779036661294/disk'/>
      <backingStore type='file' index='1'>
        <format type='raw'/>
        <source file='/var/lib/nova/instances/_base/8d383eef2e628adfc197a6e40e656916de566ab1'/>
        <backingStore/>
      </backingStore>
      <target dev='vda' bus='ide'/>
      <alias name='ide0-0-0'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux