[vfio-users] setting up virtual disks

Alex Williamson alex.l.williamson at gmail.com
Tue Mar 28 00:04:20 UTC 2017


On Mon, Mar 27, 2017 at 5:46 PM, Stibnite <stibnite at protonmail.com> wrote:

>
> I'm trying to setup a disk passthrough on virt-manager using the guide
> outlined  but the disk device does not appear in the windows installation
> window. I'm sure i'm missing something obvious but i can't seem to get it
> working.  https://access.redhat.com/documentation/en-US/Red_Hat_
> Enterprise_Linux/6/html/Virtualization_Administration_
> Guide/sect-Virtualization-Adding_storage_devices_to_
> guests-Adding_hard_drives_and_other_block_devices_to_a_guest.html
>
> here's an excerpt of my xml file.
>
> <devices>
>     <emulator>/usr/sbin/qemu-system-x86_64</emulator>
>     <disk type='file' device='disk'>
>       <driver name='qemu' type='raw'/>
>       <source file='/mnt/australia/Downloads/ISO/win10-2.qcow2'/>
>       <target dev='hda' bus='ide'/>
>       <boot order='3'/>
>       <address type='drive' controller='0' bus='0' target='0' unit='0'/>
>     </disk>
>     <disk type='file' device='cdrom'>
>       <driver name='qemu' type='raw'/>
>       <source file='/mnt/australia/Downloads/ISO/en-gb_windows_
> 10_enterprise_x64_dvd_6851157.iso'/>
>       <target dev='hdb' bus='ide'/>
>       <readonly/>
>       <boot order='1'/>
>       <address type='drive' controller='0' bus='0' target='0' unit='1'/>
>     </disk>
>     <disk type='block' device='disk'>
>       <driver name='qemu' type='raw' cache='none'/>
>       <source dev='/dev/sdc1'/>
>       <target dev='hdf' bus='virtio'/>
>       <boot order='2'/>
>       <address type='pci' domain='0x0000' bus='0x00' slot='0x08'
> function='0x0'/>
>     </disk>
>


Windows doesn't ship with virtio drivers, just like it doesn't ship with
drivers for various other one-off storage controllers.  You'll need to
install drivers for the disk on the virtio controller to show up
https://fedoraproject.org/wiki/Windows_Virtio_Drivers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20170327/1771d703/attachment.htm>


More information about the vfio-users mailing list