Received: from [140.186.70.92] (port=41726 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PG3aJ-00010Q-JN for qemu-devel@nongnu.org; Wed, 10 Nov 2010 00:51:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PG3aH-0007EB-Sx for qemu-devel@nongnu.org; Wed, 10 Nov 2010 00:51:03 -0500 Received: from adelie.canonical.com ([91.189.90.139]:38264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PG3aH-0007Dt-Kc for qemu-devel@nongnu.org; Wed, 10 Nov 2010 00:51:01 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1PG3aE-0006Wa-W1 for ; Wed, 10 Nov 2010 05:50:59 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D27EA2E8158 for ; Wed, 10 Nov 2010 05:50:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 10 Nov 2010 05:43:37 -0000 From: Kiall <432154@bugs.launchpad.net> Sender: bounces@canonical.com References: <20090917221604.30571.72270.malonedeb@potassium.ubuntu.com> Message-Id: <20101110054337.24587.74144.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 432154] Re: dynamic block device attach/detach not functional with karmic KVM Reply-To: Bug 432154 <432154@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org @Wolfgang I believe this is still an issue in maverick/10.10 aswell. I can attach a volume with UEC (10.10 metal and 10.10 instance). If you issue a `shutdown -r now` within the instance, the volume will be attached after the reboot... just spent about 8 hours getting that far! -- = 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 qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Fix Released Status in =E2=80=9Ceucalyptus=E2=80=9D package in Ubuntu: Invalid Status in =E2=80=9Clibvirt=E2=80=9D package in Ubuntu: Invalid Status in =E2=80=9Cqemu-kvm=E2=80=9D package in Ubuntu: Fix Released Status in =E2=80=9Ceucalyptus=E2=80=9D source package in Karmic: Invalid Status in =E2=80=9Clibvirt=E2=80=9D source package in Karmic: Invalid Status in =E2=80=9Cqemu-kvm=E2=80=9D source package in Karmic: Fix Released Bug description: The version of KVM currently in karmic does not appear to have a fully func= tional dynamic block device attach/detach: outside VM: --------------------------------------------------------------- root@explorer:/root# virsh list Connecting to uri: qemu:///system Id Name State ---------------------------------- 1 i-512A0927 running root@explorer:/root# ls -l /tmp/foobar -rw-r--r-- 1 root root 33554432 2009-09-17 15:09 /tmp/foobar root@explorer:/root# cat /tmp/meh root@explorer:/root# virsh attach-device 1 /tmp/meh Connecting to uri: qemu:///system Device attached successfully root@explorer:/root# = inside VM (with acpiphp loaded) -------------------------------------------------------------- root@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 (l= evel, 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@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/ke= rnel works on Jaunty). Apparmor is disabled.