0

I’ve just freshly installed virt-manager and libvirt-bin (and related packages) on a Debian sid system, and have a strange problem I’ve not yet seen on another similar installation:

When creating a new VM, I get presented one with an IDE disc and an RTL8139 NIC. I can change the type of the NIC to virtio, no problem, but I cannot add a virtio disc. All I get offered are IDE disc/CD, Floppy, SCSI disc, USB disc.

How to fix this? Am I unexpectedly missing any supplementary packages?

Clarification: I’ve got a disc image which I can add to the VM, no problem, just I’d like to add it as virtio disc, not as IDE disc. No filesystem permission problems or anything.

9
  • This mailing list poster had the same problem yet received no answer either… Commented Apr 5, 2014 at 10:20
  • 1
    I managed a workaround using virsh edit $domain but this is, of course, no solution… (but at least, the VM came up cleanly with /dev/vda usable). Commented Apr 5, 2014 at 12:16
  • Looks like a bug to me. Report it in debian's BZ Commented Apr 6, 2014 at 3:24
  • @dyasny I can’t reproduce it on another system though. I’m running Debian sid at work too, and (even after dist-upgrading today) the virt-manager setup on this box is able to add Virtio discs, LUNs, etc. Commented Apr 7, 2014 at 12:30
  • There is nothing that would block virtio. If it doesn't show up, I'd start looking at the code, and that usually means a bug. Try to update both hosts to the same patch level to make sure you are running the same code in both locations Commented Apr 7, 2014 at 15:52

1 Answer 1

1

I just had the same problem and came up with this solution:

Check: Is kvm really enabled in your bios?? Run this: dmesg | grep kvm

If it says kvm: disabled by bios go to the bios and enable it! in virt-manager you can now select kvm as emulator for new machines. I just recreated my machine without modifying the image and now virtio is available for disks.

What confused me for quite a while is that vmx is shown in /proc/cpuinfo even if VT is disabled in the bios so I did not check there first.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.