[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Help: Does Qemu support virtio-pci for net-device and d
From: |
Kevin Zhao |
Subject: |
Re: [Qemu-devel] Help: Does Qemu support virtio-pci for net-device and disk device? |
Date: |
Thu, 8 Sep 2016 14:50:48 +0800 |
Hi All,
As discussed before, upstream are working about PCIE instead of PCI in
AArch64.
Thanks for your efforts about this on AArch64 :-)
If it convenient, could you tell me when we plan to finish this task ?
and which qemu version will support this functions in the future?
Big Thanks~
Best Regards,
Kevin
On 24 August 2016 at 09:52, Kevin Zhao <address@hidden> wrote:
> Great ~ Thanks for your valuable information~
> I will try with the xml and any update I will post here.
>
> On 18 August 2016 at 21:51, Andrea Bolognani <address@hidden> wrote:
>
>> On Thu, 2016-08-18 at 20:43 +0800, Kevin Zhao wrote:
>> > What's the minimum version of Qemu that support virito-1.0?
>> > Does Qemu 2.6 works?
>>
>> 2.6 definitely has virtio 1.0 support, however libvirt does
>> not yet allow you to control whether a device uses 0.9, 1.0
>> or both. The default for 2.6 should be both IIRC.
>>
>> > Now I will manually add the slots and bus to pcie. Because
>> > I am not familiar with it, if it convenient, could you give
>> > me an available xml file which PCIE disk and PCIE
>> > net device can work for machine virt ?
>>
>> The XML you're looking for is at the end of this message.
>>
>> Note that a Fedora 24 guest configured this way will not
>> boot at all if the machine type is virt-2.6; on the other
>> hand, an identically-configured RHEL 7.3 guest will boot
>> even with virt-2.6, but both the disk and the network
>> adapter will be legacy PCI instead of PCIe.
>>
>>
>> <domain type='kvm'>
>> <name>abologna-f24</name>
>> <uuid>f6d0428b-a034-4c4e-8ef2-f12f6aa9cab0</uuid>
>> <memory unit='KiB'>2097152</memory>
>> <currentMemory unit='KiB'>2097152</currentMemory>
>> <vcpu placement='static'>4</vcpu>
>> <os>
>> <type arch='aarch64' machine='virt-2.7'>hvm</type>
>> <loader readonly='yes' type='pflash'>/usr/share/AAVMF
>> /AAVMF_CODE.fd</loader>
>> <nvram>/var/lib/libvirt/qemu/nvram/abologna-f24_VARS.fd</nvram>
>> <boot dev='hd'/>
>> </os>
>> <features>
>> <gic version='2'/>
>> </features>
>> <cpu mode='host-passthrough'/>
>> <clock offset='utc'/>
>> <on_poweroff>destroy</on_poweroff>
>> <on_reboot>restart</on_reboot>
>> <on_crash>restart</on_crash>
>> <devices>
>> <emulator>/usr/libexec/abologna-qemu-kvm</emulator>
>> <disk type='file' device='disk'>
>> <driver name='qemu' type='qcow2'/>
>> <source file='/var/lib/libvirt/images/abologna-f24.qcow2'/>
>> <target dev='vda' bus='virtio'/>
>> <address type='pci' domain='0x0000' bus='0x01' slot='0x00'
>> function='0x0'/>
>> </disk>
>> <controller type='pci' index='0' model='pcie-root'/>
>> <controller type='pci' index='1' model='pcie-root-port'>
>> <model name='ioh3420'/>
>> <target chassis='1' port='0x8'/>
>> <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
>> function='0x0'/>
>> </controller>
>> <controller type='pci' index='2' model='pcie-root-port'>
>> <model name='ioh3420'/>
>> <target chassis='2' port='0x10'/>
>> <address type='pci' domain='0x0000' bus='0x00' slot='0x02'
>> function='0x0'/>
>> </controller>
>> <controller type='virtio-serial' index='0'>
>> <address type='virtio-mmio'/>
>> </controller>
>> <interface type='network'>
>> <mac address='52:54:00:10:07:41'/>
>> <source network='default'/>
>> <model type='virtio'/>
>> <rom bar='off'/>
>> <address type='pci' domain='0x0000' bus='0x02' slot='0x00'
>> function='0x0'/>
>> </interface>
>> <serial type='pty'>
>> <target port='0'/>
>> </serial>
>> <console type='pty'>
>> <target type='serial' port='0'/>
>> </console>
>> <channel type='unix'>
>> <source mode='bind'/>
>> <target type='virtio' name='org.qemu.guest_agent.0'/>
>> <address type='virtio-serial' controller='0' bus='0' port='1'/>
>> </channel>
>> </devices>
>> </domain>
>>
>> --
>> Andrea Bolognani / Red Hat / Virtualization
>>
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] Help: Does Qemu support virtio-pci for net-device and disk device?,
Kevin Zhao <=