More libvirt: attach disk to windows vm

Linux for blind general discussion blinux-list at
Sat Mar 26 08:32:31 UTC 2022

So I found this snippet on the web for attaching a disk to a virtual machine:

<disk type='block' device='disk'>
  <driver name='qemu' type='raw' />
  <source dev='/dev/md/storage' />
  <target dev='vdb' bus='virtio' />

This will work for a linux guest I think, but what about windows? I have an NTFS partition I wish to attach directly to the windows vm without having to go through samba. Any tips/tricks?

More information about the Blinux-list mailing list