User Tools

Site Tools


virt:qemu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
virt:qemu [2025/03/11 21:13] – added bits about hiding QEMU from the VM philvirt:qemu [2025/11/18 15:37] (current) phil
Line 37: Line 37:
  
 As usual, Windows needs some drivers first. Best get the ISO As usual, Windows needs some drivers first. Best get the ISO
-[[http://blog.famzah.net/2010/01/09/kvm-qemu-virtio-storage-and-network-drivers-for-32-bit64-bit-windows-7-windows-vista-windows-xp-and-windows-2000/|here]]+[[https://github.com/virtio-win/kvm-guest-drivers-windows/wiki/Driver-installation|here]]
 or the original ZIP files or the original ZIP files
 [[http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers|here]]. [[http://www.linux-kvm.org/page/WindowsGuestDrivers/Download_Drivers|here]].
Line 78: Line 78:
 If everything went well, Task Manager's Performance tab should no longer read If everything went well, Task Manager's Performance tab should no longer read
 ''Virtual machine: yes'' but ''Virtualization: enabled'' instead. ''Virtual machine: yes'' but ''Virtualization: enabled'' instead.
 +
 +===== Sharing Directories with Windows Guests =====
 +
 +Using a network filesystem or hacks like sshfs works but feels clumsy. With
 +[[https://virtio-fs.gitlab.io/|virtiofs]] there finally seems to be a nice
 +solution. Tested in libvirt only for now:
 +
 +In virt-manager, edit the machine and add a "filesystem" hardware. Use ''virtiofs'' for driver, browse ''source path'' to a local directory which should be shared and choose a name as ''target path''.
 +
 +In the Windows VM, install [[https://virtio-fs.gitlab.io/howto-windows.html|WinFsp]]. If Virtio-Win drivers are installed, it seems to suffice opening a ''cmd.exe'' as Administrator and calling:
 +  C:\> sc start VirtioFsSvc
 +The shared directories appear with drive letters Z: and downwards. This might need another call to become persistent upon reboots:
 +  C:\> sc config VirtioFsSvc start=auto
  
  
virt/qemu.1741727580.txt.gz · Last modified: by phil