Please backport libvirt-bin

Bug #259821 reported by Jan Ivar Pladsen
4
Affects Status Importance Assigned to Milestone
Hardy Backports
Won't Fix
Wishlist
Unassigned

Bug Description

libvirt-bin in Hardy is 0.4.0-2ubuntu8

libvirt-bin in Intrepid is 0.4.4-3ubuntu2

Revision history for this message
Michael Casadevall (mcasadevall) wrote :

What is the justification for this backport? Backporting libraries, especially ones with as many rdepends as libvirt shouldn't be done unless there is some must have feature in the new libvirt which doesn't seem to be the case.

I'm marking this won't fix. Please reopen this bug if you feel that this is incorrect.

Changed in hardy-backports:
importance: Undecided → Wishlist
status: New → Won't Fix
Revision history for this message
jseabra (jseabra) wrote :

Im using ubuntu 8.04.1 and I'm running virtual machines in it.
My problem is that i need to pass through to the guest USB devices attached to the host.
This can be acomplished using the hostdev element in the xml file, however this is only supported in libvirt since after 0.4.4
Installing the latest libvirt version by hand has failed and I really dont want to mess up with the server.

Can you please backport this?

Changed in hardy-backports:
status: Won't Fix → New
Revision history for this message
Michael Casadevall (mcasadevall) wrote :

Given that we can't backport just the binaries and not the library, and I am not willing to risk the regressions, I am remarking this WONTFIX.

Changed in hardy-backports:
status: New → Won't Fix
Revision history for this message
jseabra (jseabra) wrote :

Ok
So i made a wrapper to solve my problem that will execute the options I want on the selected vm.

The solution was to rename kvm to kvm.original and create a kvm bash script like this:

#!/bin/bash
ARGV1="$@"
ARGV2="-M pc -m 512 -smp 1 -monitor pty -no-acpi -drive file=/home/virt-images/WindowsXP.qcow,if=ide,boot=on -drive file=/dev/cdrom,if=ide,media=cdrom -net nic,macaddr=52:54:00:56:c5:48,vlan=0 -net tap,ifname=,script=,vlan=0 -usb -vnc 0.0.0.0:0"

if [ "$ARGV1" == "$ARGV2" ]
 then
 exec /usr/bin/kvm.original $@ -usbdevice host:0529:001
fi
exec /usr/bin/kvm.original $@

Hope this helps someone.

Thanks anyway

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

Other bug subscribers

Remote bug watches

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