[Bug 432154] [NEW] dynamic block device attach/detach not functional with karmic KVM
Daniel Nurmi
dnurmi at gmail.com
Thu Sep 17 23:16:04 BST 2009
Public bug reported:
The version of KVM currently in karmic does not appear to have a fully
functional dynamic block device attach/detach:
outside VM:
---------------------------------------------------------------
root at explorer:/root# virsh list
Connecting to uri: qemu:///system
Id Name State
----------------------------------
1 i-512A0927 running
root at explorer:/root# ls -l /tmp/foobar
-rw-r--r-- 1 root root 33554432 2009-09-17 15:09 /tmp/foobar
root at explorer:/root# cat /tmp/meh
<disk type='block'><driver name='phy'/><source dev='/tmp/foobar'/><target dev='sdb'/></disk>
root at explorer:/root# virsh attach-device 1 /tmp/meh
Connecting to uri: qemu:///system
Device attached successfully
root at explorer:/root#
inside VM (with acpiphp loaded)
--------------------------------------------------------------
root at 10:/lib/modules# dmesg
[ 1482.978287] pci 0000:00:06.0: reg 10 io port: [0x00-0xff]
[ 1482.978327] pci 0000:00:06.0: reg 14 32bit mmio: [0x000000-0x0003ff]
[ 1482.978365] pci 0000:00:06.0: reg 18 32bit mmio: [0x000000-0x001fff]
[ 1482.978673] pci 0000:00:02.0: BAR 6: bogus alignment [0x0-0x0] flags 0x2
[ 1482.978750] decode_hpp: Could not get hotplug parameters. Use defaults
[ 1482.982167] sym53c8xx 0000:00:06.0: enabling device (0000 -> 0003)
[ 1482.982274] sym53c8xx 0000:00:06.0: PCI INT A -> Link[LNKB] -> GSI 10 (level, high) -> IRQ 10
[ 1482.984011] sym1: <895a> rev 0x0 at pci 0000:00:06.0 irq 10
[ 1482.989722] sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking
[ 1482.992017] sym1: SCSI BUS has been reset.
[ 1483.001733] scsi6 : sym-2.2.3
root at 10:/lib/modules#
----------------------------------------------------------------
libvirt/kvm appear to believe that the block device has been attached,
but the device is not showing up in the guest (this process with the
same VM/kernel works on Jaunty). Apparmor is disabled.
** Affects: eucalyptus (Ubuntu)
Importance: Undecided
Status: New
** Tags: eucalyptus
--
dynamic block device attach/detach not functional with karmic KVM
https://bugs.launchpad.net/bugs/432154
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.
More information about the Ubuntu-server-bugs
mailing list