Am 12.06.2012 19:04, schrieb Gianluca Cecchi:
One of the main reasons for passing from virtio_blk to virtio_scsi
should be hot plug and hot resize (I hoped).
But with f17 host and f17 guest it seems not working, at least for me...
In guest:
# fdisk -l /dev/sda
Disk /dev/sda: 7516 MB, 7516192768 bytes
232 heads, 62 sectors/track, 1020 cylinders, total 14680064 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00031461
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 14680063 6827008 8e Linux LVM
On host
$ sudo qemu-img resize /var/lib/libvirt/images/f17.img +1G
Image resized.
Never use qemu-img to modify an image that is in use by a VM, it might
break the image. You need to use the qemu monitor of that VM to modify
this image, which in your case means that you should probably use the
proper libvirt interface, e.g. with virsh.
Kevin