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

Re: [vfio-users] setting up virtual disks



On Mon, Mar 27, 2017 at 5:46 PM, Stibnite <stibnite 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

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