diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-02 17:25:48 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-10-09 11:24:47 +0100 |
commit | 865b58c05b841964f48f574c2027311bd04db8a1 (patch) | |
tree | 2559fdb2e8b8191caf97900be89758230f394607 /include/scsi/scsi_cmnd.h | |
parent | 9da5f5ac6affad8dd8cd80f5cca26e4335e1728b (diff) |
[SCSI] virtio-scsi: support online resizing of disks
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>
Diffstat (limited to 'include/scsi/scsi_cmnd.h')
0 files changed, 0 insertions, 0 deletions