[Bug 259821] Re: Please backport libvirt-bin
jseabra
jseabra at gmail.com
Tue Nov 11 23:23:43 GMT 2008
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
--
Please backport libvirt-bin
https://bugs.launchpad.net/bugs/259821
You received this bug notification because you are a member of Ubuntu
Backports Testing Team, which is subscribed to Hardy Backports.
More information about the ubuntu-backports
mailing list