[Bug 1280859] [NEW] usb passthrough broken in libvirt

2014-02-16 Thread Rubeosis
Public bug reported:

I am using Ubutu saucy X64 server with libvirtd 1.1.1

Once a USB has been properly attached to a virtual machine on
reconnecting the device libvirt does not automatically reattach the
device to the guest machine.

See also here: This could be a related bug.

https://bugzilla.redhat.com/show_bug.cgi?id=1016511

Thanks in advance for your help!

Regards,

Rubeosis


This is my qemu config file:

!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh edit Win7
or other application using the libvirt API.
--

domain type='kvm'
  nameWin7/name
  uuidXXX/uuid
  memory unit='KiB'2097152/memory
  currentMemory unit='KiB'1048576/currentMemory
  vcpu placement='static'2/vcpu
  os
type arch='x86_64' machine='pc-i440fx-1.5'hvm/type
boot dev='hd'/
bootmenu enable='no'/
  /os
  features
acpi/
apic/
pae/
  /features
  clock offset='localtime'/
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashrestart/on_crash
  devices
emulator/usr/bin/kvm-spice/emulator
disk type='file' device='disk'
  driver name='qemu' type='raw' cache='writeback'/
  source file='/var/lib/libvirt/images/Win7.img'/
  target dev='vda' bus='virtio'/
  address type='pci' domain='0x' bus='0x00' slot='0x05' 
function='0x0'/
/disk
disk type='file' device='cdrom'
  driver name='qemu' type='raw'/
  source file='/home/cdrom/kvmdriver.iso'/
  target dev='hdc' bus='ide'/
  readonly/
  address type='drive' controller='0' bus='1' target='0' unit='0'/
/disk
controller type='usb' index='0' model='ich9-ehci1'
  address type='pci' domain='0x' bus='0x00' slot='0x07' 
function='0x7'/
/controller
controller type='usb' index='0' model='ich9-uhci1'
  master startport='0'/
  address type='pci' domain='0x' bus='0x00' slot='0x07' function='0x0' 
multifunction='on'/
/controller
controller type='pci' index='0' model='pci-root'/
controller type='ide' index='0'
  address type='pci' domain='0x' bus='0x00' slot='0x01' 
function='0x1'/
/controller
interface type='network'
  mac address='XXX'/
  source network='default'/
  model type='virtio'/
  address type='pci' domain='0x' bus='0x00' slot='0x03' 
function='0x0'/
/interface
serial type='pty'
  target port='0'/
/serial
console type='pty'
  target type='serial' port='0'/
/console
input type='tablet' bus='usb'/
input type='mouse' bus='ps2'/
graphics type='vnc' port='-1' autoport='yes'/
video
  model type='vga' vram='9216' heads='1'/
  address type='pci' domain='0x' bus='0x00' slot='0x02' 
function='0x0'/
/video
hostdev mode='subsystem' type='usb' managed='yes'
  source
vendor id='0x05e3'/
product id='0x0144'/
  /source
/hostdev
memballoon model='virtio'
  address type='pci' domain='0x' bus='0x00' slot='0x04' 
function='0x0'/
/memballoon
  /devices
/domain

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1280859

Title:
  usb passthrough broken in libvirt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1280859/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1280859] [NEW] usb passthrough broken in libvirt

2014-02-16 Thread Rubeosis
Public bug reported:

I am using Ubutu saucy X64 server with libvirtd 1.1.1

Once a USB has been properly attached to a virtual machine on
reconnecting the device libvirt does not automatically reattach the
device to the guest machine.

See also here: This could be a related bug.

https://bugzilla.redhat.com/show_bug.cgi?id=1016511

Thanks in advance for your help!

Regards,

Rubeosis


This is my qemu config file:

!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh edit Win7
or other application using the libvirt API.
--

domain type='kvm'
  nameWin7/name
  uuidXXX/uuid
  memory unit='KiB'2097152/memory
  currentMemory unit='KiB'1048576/currentMemory
  vcpu placement='static'2/vcpu
  os
type arch='x86_64' machine='pc-i440fx-1.5'hvm/type
boot dev='hd'/
bootmenu enable='no'/
  /os
  features
acpi/
apic/
pae/
  /features
  clock offset='localtime'/
  on_poweroffdestroy/on_poweroff
  on_rebootrestart/on_reboot
  on_crashrestart/on_crash
  devices
emulator/usr/bin/kvm-spice/emulator
disk type='file' device='disk'
  driver name='qemu' type='raw' cache='writeback'/
  source file='/var/lib/libvirt/images/Win7.img'/
  target dev='vda' bus='virtio'/
  address type='pci' domain='0x' bus='0x00' slot='0x05' 
function='0x0'/
/disk
disk type='file' device='cdrom'
  driver name='qemu' type='raw'/
  source file='/home/cdrom/kvmdriver.iso'/
  target dev='hdc' bus='ide'/
  readonly/
  address type='drive' controller='0' bus='1' target='0' unit='0'/
/disk
controller type='usb' index='0' model='ich9-ehci1'
  address type='pci' domain='0x' bus='0x00' slot='0x07' 
function='0x7'/
/controller
controller type='usb' index='0' model='ich9-uhci1'
  master startport='0'/
  address type='pci' domain='0x' bus='0x00' slot='0x07' function='0x0' 
multifunction='on'/
/controller
controller type='pci' index='0' model='pci-root'/
controller type='ide' index='0'
  address type='pci' domain='0x' bus='0x00' slot='0x01' 
function='0x1'/
/controller
interface type='network'
  mac address='XXX'/
  source network='default'/
  model type='virtio'/
  address type='pci' domain='0x' bus='0x00' slot='0x03' 
function='0x0'/
/interface
serial type='pty'
  target port='0'/
/serial
console type='pty'
  target type='serial' port='0'/
/console
input type='tablet' bus='usb'/
input type='mouse' bus='ps2'/
graphics type='vnc' port='-1' autoport='yes'/
video
  model type='vga' vram='9216' heads='1'/
  address type='pci' domain='0x' bus='0x00' slot='0x02' 
function='0x0'/
/video
hostdev mode='subsystem' type='usb' managed='yes'
  source
vendor id='0x05e3'/
product id='0x0144'/
  /source
/hostdev
memballoon model='virtio'
  address type='pci' domain='0x' bus='0x00' slot='0x04' 
function='0x0'/
/memballoon
  /devices
/domain

** Affects: libvirt (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1280859

Title:
  usb passthrough broken in libvirt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1280859/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs