Displaying 7 results from an estimated 7 matches for "block_resize".
2013 Feb 21
3
[PATCH] virtio-blk: emit udev event when device is resized
When virtio-blk device is resized from host (using block_resize from QEMU) emit
KOBJ_CHANGE uevent to notify guest about such change. This allows user to have
custom udev rules which would take whatever action if such event occurs. As a
proof of concept I've created simple udev rule that automatically resize
filesystem on virtio-blk device.
ACTION=="c...
2013 Feb 21
3
[PATCH] virtio-blk: emit udev event when device is resized
When virtio-blk device is resized from host (using block_resize from QEMU) emit
KOBJ_CHANGE uevent to notify guest about such change. This allows user to have
custom udev rules which would take whatever action if such event occurs. As a
proof of concept I've created simple udev rule that automatically resize
filesystem on virtio-blk device.
ACTION=="c...
2017 Jul 26
2
[PATCH] virtio_blk: fix incorrect message when disk is resized
The message printed on disk resize is incorrect. The following is
printed when resizing to 2 GiB:
$ truncate -s 1G test.img
$ qemu -device virtio-blk-pci,logical_block_size=4096,...
(qemu) block_resize drive1 2G
virtio_blk virtio0: new size: 4194304 4096-byte logical blocks (17.2 GB/16.0 GiB)
The virtio_blk capacity config field is in 512-byte sector units
regardless of logical_block_size as per the VIRTIO specification.
Therefore the message should read:
virtio_blk virtio0: new size: 5242...
2017 Jul 26
2
[PATCH] virtio_blk: fix incorrect message when disk is resized
The message printed on disk resize is incorrect. The following is
printed when resizing to 2 GiB:
$ truncate -s 1G test.img
$ qemu -device virtio-blk-pci,logical_block_size=4096,...
(qemu) block_resize drive1 2G
virtio_blk virtio0: new size: 4194304 4096-byte logical blocks (17.2 GB/16.0 GiB)
The virtio_blk capacity config field is in 512-byte sector units
regardless of logical_block_size as per the VIRTIO specification.
Therefore the message should read:
virtio_blk virtio0: new size: 5242...
2017 Aug 04
0
[PATCH] virtio_blk: fix incorrect message when disk is resized
On Wed, Jul 26, 2017 at 03:32:23PM +0100, Stefan Hajnoczi wrote:
> The message printed on disk resize is incorrect. The following is
> printed when resizing to 2 GiB:
>
> $ truncate -s 1G test.img
> $ qemu -device virtio-blk-pci,logical_block_size=4096,...
> (qemu) block_resize drive1 2G
>
> virtio_blk virtio0: new size: 4194304 4096-byte logical blocks (17.2 GB/16.0 GiB)
>
> The virtio_blk capacity config field is in 512-byte sector units
> regardless of logical_block_size as per the VIRTIO specification.
> Therefore the message should read:
>
&...
2018 Feb 18
0
ANNOUNCE: ruby-libvirt 0.7.1
I'm pleased to release ruby-libvirt 0.7.1. ruby-libvirt is a ruby wrapper
around the libvirt API. The changelog between 0.7.0 and 0.7.1 is:
* Fix a bad bug in block_resize (Marius Rieder)
* Fix up some problems pointed out by clang
* Fix up the tests for small semantic differences in how libvirt works
Version 0.7.1 is available from http://libvirt.org/ruby:
Tarball: http://libvirt.org/ruby/download/ruby-libvirt-0.7.1.tgz
Gem: http://libvirt.org/ruby/download/r...
2011 Mar 25
0
Some notes on using QMP to hot plug disks
...rate_cancel"}, {"name":
"migrate_set_speed"}, {"name": "client_migrate_info"}, {"name":
"migrate_set_downtime"}, {"name": "netdev_add"}, {"name":
"netdev_del"}, {"name": "block_resize"}, {"name": "balloon"}, {"name":
"set_link"}, {"name": "getfd"}, {"name": "closefd"}, {"name":
"block_passwd"}, {"name": "set_password"}, {"name":
"ex...