Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


4 posts

Wannabe Geek

#302190 6-Nov-2022 12:46
Send private message



I’m running a VM on RedHat. Seems that a the source of my problem is: is “rather nasty – qemu update to version 6 has changed compatibility (see here) and libvirt has not followed through.”


Was able to partially fix my issue by:
“An ugly workaround is to modify the XML directly (either using Virt-Manager or using text editor of the VM’s XML) and modify the disk to the following. Change ‘file’ into ‘block’ as the type, and change source from ‘file’ type to ‘dev’ type.” Running Systems » Blog Archive » qemu-kvm: file driver requires to be a regular file for ZFS volume


Remaining error I can’t fix is:
internal error: process exited while connecting to monitor: 2022-11-05T00:11:40.702330Z qemu-kvm: -blockdev {“driver”:“file”,“filename”:“/dev/sdb”,“node-name”:“libvirt-2-storage”,“auto-read-only”:true,“discard”:“unmap”}: ‘file’ driver requires ‘/dev/sdb’ to be a regular file


[xxxxxx@localhost ~]$ getfacl /dev/sdb
getfacl: Removing leading ‘/’ from absolute path names


file: dev/sdb owner: root group: disk




I tried the following command but can’t make it work:
setfacl -m u:libvirt-qemu:x /dev/sdb (setfacl: Option -m: Invalid argument near character 3)


Manjaro Linux Forum – 11 Apr 22  Virt-manager doesn't work "permission denied"


Bit of a noob here and looking for help



Create new topic
3046 posts

Uber Geek


  #2992722 7-Nov-2022 08:09
Send private message

Can you grab the current XML definition for the VM and post the disk details




  • virsh dumpxml <vm_name>

You should get something like


    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/sdb'/>
      <target dev='sda' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>

Generally known online as OpenMedia, now working for Red Hat APAC as a Technology Evangelist and Portfolio Architect. Still playing with MythTV and digital media on the side.


Shop Mighty Ape for electronics, games, computers books and more (affiliate link).

4 posts

Wannabe Geek

  #2994054 9-Nov-2022 19:22
Send private message

Thanks for replying. Here you go: 




domain type='kvm'>








    <libosinfo:libosinfo xmlns:libosinfo="">


      <libosinfo:os id=""/>




    <cockpit_machines:data xmlns:cockpit_machines="">














  <memory unit='KiB'>16777216</memory>


  <currentMemory unit='KiB'>16777216</currentMemory>


  <vcpu placement='static'>1</vcpu>










    <type arch='x86_64' machine='pc-i440fx-rhel7.6.0'>hvm</type>


    <boot dev='hd'/>










    <vmport state='off'/>




  <cpu mode='custom' match='exact' check='full'>


    <model fallback='forbid'>Haswell-noTSX-IBRS</model>




    <feature policy='require' name='vme'/>


    <feature policy='require' name='ss'/>


    <feature policy='require' name='vmx'/>


    <feature policy='require' name='pdcm'/>


    <feature policy='require' name='f16c'/>


    <feature policy='require' name='rdrand'/>


    <feature policy='require' name='hypervisor'/>


    <feature policy='require' name='arat'/>


    <feature policy='require' name='tsc_adjust'/>


    <feature policy='require' name='umip'/>


    <feature policy='require' name='md-clear'/>


    <feature policy='require' name='stibp'/>


    <feature policy='require' name='arch-capabilities'/>


    <feature policy='require' name='ssbd'/>


    <feature policy='require' name='xsaveopt'/>


    <feature policy='require' name='pdpe1gb'/>


    <feature policy='require' name='abm'/>


    <feature policy='require' name='ibpb'/>


    <feature policy='require' name='ibrs'/>


    <feature policy='require' name='amd-stibp'/>


    <feature policy='require' name='amd-ssbd'/>


    <feature policy='require' name='skip-l1dfl-vmentry'/>


    <feature policy='require' name='pschange-mc-no'/>




  <clock offset='utc'>


    <timer name='rtc' tickpolicy='catchup'/>


    <timer name='pit' tickpolicy='delay'/>


    <timer name='hpet' present='no'/>












    <suspend-to-mem enabled='no'/>


    <suspend-to-disk enabled='no'/>








    <disk type='file' device='disk'>


      <driver name='qemu' type='qcow2'/>


      <source file='/var/lib/libvirt/images/ZFS.qcow2'/>




      <target dev='hda' bus='ide'/>


      <address type='drive' controller='0' bus='0' target='0' unit='0'/>




    <disk type='file' device='cdrom'>


      <driver name='qemu' type='raw'/>


      <target dev='hdb' bus='ide'/>




      <address type='drive' controller='0' bus='0' target='0' unit='1'/>




    <disk type='block' device='disk'>


      <driver name='qemu' type='raw'/>


      <source dev='/dev/sdb'/>


      <target dev='vda' bus='virtio'/>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>




    <disk type='block' device='disk'>


      <driver name='qemu' type='raw'/>


      <source dev='/dev/sdc'/>


      <target dev='vdb' bus='virtio'/>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>




    <controller type='usb' index='0' model='ich9-ehci1'>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>




    <controller type='usb' index='0' model='ich9-uhci1'>


      <master startport='0'/>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>




    <controller type='usb' index='0' model='ich9-uhci2'>


      <master startport='2'/>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>




    <controller type='usb' index='0' model='ich9-uhci3'>


      <master startport='4'/>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>




    <controller type='pci' index='0' model='pci-root'/>


    <controller type='ide' index='0'>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>




    <controller type='virtio-serial' index='0'>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>




    <interface type='network'>


      <mac address='52:54:00:93:e6:18'/>


      <source network='default'/>


      <model type='e1000'/>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>




    <serial type='pty'>


      <target type='isa-serial' port='0'>


        <model name='isa-serial'/>






    <console type='pty'>


      <target type='serial' port='0'/>




    <channel type='spicevmc'>


      <target type='virtio' name='com.redhat.spice.0'/>


      <address type='virtio-serial' controller='0' bus='0' port='1'/>




    <input type='mouse' bus='ps2'/>


    <input type='keyboard' bus='ps2'/>


    <graphics type='spice' autoport='yes' listen=''>


      <listen type='address' address=''/>


      <image compression='off'/>




    <graphics type='vnc' port='-1' autoport='yes' listen=''>


      <listen type='address' address=''/>




    <sound model='ich6'>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>






      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>




    <redirdev bus='usb' type='spicevmc'>


      <address type='usb' bus='0' port='1'/>




    <redirdev bus='usb' type='spicevmc'>


      <address type='usb' bus='0' port='2'/>




    <memballoon model='virtio'>


      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>






  <seclabel type='dynamic' model='selinux' relabel='yes'/>


  <seclabel type='dynamic' model='dac' relabel='yes'/>











Create new topic

News and reviews »

Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48

Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38

Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21

Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50

Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45

Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38

Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17

Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42

Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56

Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18

Amazon Introduces All-New Echo Pop in New Zealand
Posted 23-Oct-2023 19:49

HyperX Unveils Their First Webcam and Audio Mixer Plus
Posted 20-Oct-2023 11:47

Seagate Introduces Exos 24TB Hard Drives for Hyperscalers and Enterprise Data Centres
Posted 20-Oct-2023 11:43

Dyson Zone Noise-Cancelling Headphones Comes to New Zealand
Posted 20-Oct-2023 11:33

The OPPO Find N3 Launches Globally Available in New Zealand Mid-November
Posted 20-Oct-2023 11:06

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.