virtfs isn't enabled

Bug #782973 reported by Ryota Ozaki
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
qemu-kvm (Ubuntu)
Fix Released
Low
Unassigned
Natty
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: qemu-kvm

kvm command fails with the below message when I try to use virtfs:

  kvm -kernel /boot/System.map-2.6.38-8-generic -initrd /boot/initrd.img-2.6.38-8-generic -virtfs local,path=./natty_root,mount_tag=hoge,security_model=none
  kvm: -virtfs local,path=./natty_root,mount_tag=hoge,security_model=none: there is no option group "virtfs"
  virtfs is not supported by this qemu build.

To enable virtfs, libattr1-dev package is required. The package should be listed in build dependency.

Revision history for this message
Ryota Ozaki (ozaki-ryota+launchpad) wrote :

Oops. The version of qemu-kvm package is 0.14.0+noroms-0ubuntu4.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better.

Thanks for the inf as well. I'll see if there's any problems when I add that to the dependencies.

Changed in qemu-kvm (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

The resulting package (for amd64) is available at http://people.canonical.com/~serge/qemu-with-virtio-debs.tgz. Would you like to test it before I push to the archive?

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

I've pushed the package for oneiric, which should build in awhile. I assume you'd like to see this SRUd to natty. Please feel free to do the SRU justification by editing the main description.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu-kvm - 0.14.0+noroms-0ubuntu5

---------------
qemu-kvm (0.14.0+noroms-0ubuntu5) oneiric; urgency=low

  * Add libattr1-dev to build-depends to enable use of 9p virtfs (LP: #782973)
 -- Serge Hallyn <email address hidden> Mon, 16 May 2011 09:53:15 -0500

Changed in qemu-kvm (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Ryota Ozaki (ozaki-ryota+launchpad) wrote :

Thanks Serge!

Well...I wanted to test your package though, unfortunately my machine had broken after I posted the report...so I cannot do, I'm very sorry.

However, I believe the fix would not harm because I actually rebuilt qemu-kvm package with libattr1-dev installed and it worked well.

Changed in qemu-kvm (Ubuntu Natty):
status: New → Confirmed
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

I'm going to mark this Wontfix for natty until there is at least a specific request from someone who needs it. In order to fix it in natty, I would need to fill out a SRU justification, so it will help to be able to point to user demand, as well as to know that there will be someone around to test the fix.

Changed in qemu-kvm (Ubuntu Natty):
status: Confirmed → Won't Fix
Revision history for this message
William Scheidegger (william-scheidegger) wrote :

I just started working with the SPICE interface and ran into this issue with the qemu-kvm-spice package on a 12.04 Precise Pangolin box. This is just another issue with that package in Precise.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

@William,

please file a bug against qemu-kvm-spice (qemu-linaro) to get virtfs enabled there if it is not.

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

There's already a bug task against -spice: it's bug #966849.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.