mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 14:35:25 +00:00
947448e212
<filesystem> devices lack the model= attribute which is used by most other device types. To eventually support virtio-9p-pci-{non-}traditional in qemu, let's add a standard model= attribute. The accepted values are: - virtio - virtio-transitional - virtio-non-transitional Reviewed-by: Andrea Bolognani <abologna@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com>
32 lines
1.0 KiB
XML
32 lines
1.0 KiB
XML
<domain type='qemu'>
|
|
<name>QEMUGuest1</name>
|
|
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
|
|
<memory unit='KiB'>219136</memory>
|
|
<os>
|
|
<type arch='x86_64' machine='q35'>hvm</type>
|
|
</os>
|
|
<devices>
|
|
<disk type='block' device='disk' model='virtio-transitional'>
|
|
<driver name='qemu' type='raw'/>
|
|
<source dev='/dev/HostVG/QEMUGuest1'/>
|
|
<target dev='vda' bus='virtio'/>
|
|
</disk>
|
|
<interface type='user'>
|
|
<mac address='00:11:22:33:44:55'/>
|
|
<model type='virtio-transitional'/>
|
|
</interface>
|
|
<hostdev mode='subsystem' type='scsi_host' managed='no' model='virtio-transitional'>
|
|
<source protocol='vhost' wwpn='naa.5123456789abcde0'/>
|
|
</hostdev>
|
|
<rng model='virtio-transitional'>
|
|
<backend model='random'>/dev/urandom</backend>
|
|
</rng>
|
|
<filesystem type='mount' accessmode='passthrough' model='virtio-transitional'>
|
|
<source dir='/export/fs1'/>
|
|
<target dir='fs1'/>
|
|
</filesystem>
|
|
<controller type='usb' model='none'/>
|
|
<memballoon model='none'/>
|
|
</devices>
|
|
</domain>
|