qemu + virt-manager sync folder error

After installing qemu and virt-manager (package : virt-manager qemu vde2 ebtables dnsmasq bridge-utils openbsd-netcat ) i create VM ( Win7). All working good, but if try to create shared folder to guest VM, when I starting VM error message :

Error starting domain: internal error: qemu unexpectedly closed the monitor: 2020-01-01T11:17:38.630236Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48BH).vmx-apicv-register [bit 8]
2020-01-01T11:17:38.630255Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48BH).vmx-apicv-vid [bit 9]
2020-01-01T11:17:38.630264Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48DH).vmx-posted-intr [bit 7]
2020-01-01T11:17:38.630274Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(48FH).vmx-exit-load-perf-global-ctrl [bit 12]
2020-01-01T11:17:38.630282Z qemu-system-x86_64: warning: host doesn't support requested feature: MSR(490H).vmx-entry-load-perf-global-ctrl [bit 13]
2020-01-01T11:17:38.666313Z qemu-system-x86_64: -device virtio-9p-pci,id=fs0,fsdev=fsdev-fs0,mount_tag=qemu,bus=pci.0,addr=0x9: cannot initialize fsdev 'fsdev-fs0': failed to open '/home/and/Public/qemu': Permission denied

inxi -Fxz output:

  Host: zetta Kernel: 5.4.6-2-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 
  Desktop: Xfce 4.14.1 Distro: Manjaro Linux 
  Type: Portable System: Dell product: Inspiron 7520 v: A14 serial: <filter> 
  Mobo: Dell model: 0PXH02 v: A00 serial: <filter> UEFI [Legacy]: Dell 
  v: A14 date: 05/17/2018 
  ID-1: BAT1 charge: 42.5 Wh condition: 42.5/48.8 Wh (87%) 
  model: LGC DELL V57XN status: Full 
  Topology: Quad Core model: Intel Core i7-3632QM bits: 64 type: MT MCP 
  arch: Ivy Bridge rev: 9 L2 cache: 6144 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 35138 
  Speed: 1198 MHz min/max: 1200/3200 MHz Core speeds (MHz): 1: 1198 2: 1198 
  3: 1197 4: 1198 5: 1197 6: 1200 7: 1198 8: 1199 
  Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915 
  v: kernel bus ID: 00:02.0 
  Device-2: AMD Chelsea LP [Radeon HD 7730M] vendor: Dell driver: radeon 
  v: kernel bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.6 driver: ati,intel,radeon 
  unloaded: modesetting resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 4.2 Mesa 19.3.1 
  direct render: Yes 
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.4.6-2-MANJARO 
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Dell driver: r8168 v: 8.047.05-NAPI port: 2000 bus ID: 07:00.0 
  IF: enp7s0 state: down mac: <filter> 
  Device-2: Intel Centrino Wireless-N 2230 driver: iwlwifi v: kernel 
  port: 2000 bus ID: 08:00.0 
  IF: wlp8s0 state: up mac: <filter> 
  IF-ID-1: virbr0 state: down mac: <filter> 
  IF-ID-2: virbr0-nic state: down mac: <filter> 
  Local Storage: total: 2.73 TiB used: 545.10 GiB (19.5%) 
  ID-1: /dev/sda vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB 
  ID-2: /dev/sdb vendor: Seagate model: ST2000LM003 HN-M201RAD 
  size: 1.82 TiB 
  ID-1: / size: 703.58 GiB used: 545.10 GiB (77.5%) fs: ext4 dev: /dev/sda4 
  ID-2: swap-1 size: 16.60 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
  System Temperatures: cpu: 51.0 C mobo: N/A gpu: radeon temp: 47 C 
  Fan Speeds (RPM): cpu: 4500 
  Processes: 223 Uptime: 24m Memory: 15.52 GiB used: 1.79 GiB (11.5%) 
  Init: systemd Compilers: gcc: 9.2.0 clang: 9.0.0 Shell: bash v: 5.0.11 
  inxi: 3.0.37 

for qemu created special user qemu and add it to my user group:

groups qemu
and qemu

changed part of qemu.conf:

# Some examples of valid values are:
#       user = "qemu"   # A user named "qemu"
#       user = "+0"     # Super user (uid=0)
#       user = "100"    # A user named "100" or a user with uid=100
user = "qemu"

# The group for QEMU processes run by the system instance. It can be
# specified in a similar way to user.
group = "qemu"

# Whether libvirt should dynamically change file ownership
# to match the configured user/group above. Defaults to 1.
# Set to 0 to disable file ownership changes.
#dynamic_ownership = 1

Thanks to your help.

you need additional the libvirt package. Is it installed ? If not install it via pamac. after installing you have to enable the libvirt-service with 'sudo systemctl enable libvirtd.service' and start it with 'sudo systemctl start libvirtd.service'

Hi and thanks for you help! Yes libvirt installed and I start libvirtd.service before starting virt-manager. My guest VM starting and good working without sync folder. I have this problem only if I add in virt-manager "Filesystem" hardware.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by