[SCSI] virtio-scsi: support online resizing of disks
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 2 Oct 2012 15:25:48 +0000 (17:25 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 9 Oct 2012 10:24:47 +0000 (11:24 +0100)
Support the LUN parameter change event.  Currently, the host fires this event
when the capacity of a disk is changed from the virtual machine monitor.
The resize then appears in the kernel log like this:

  sd 0:0:0:0: [sda] 46137344 512-byte logical blocks: (23.6 GB/22.0 GIb)
  sda: detected capacity change from 22548578304 to 23622320128

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found