Felipe Franciosi
2013-Apr-03 14:01 UTC
[PATCH 0/2] Allow xen guests to plug disks of 1 TiB or more
This series fixes an issue where disks of 1 TiB or more cannot be added to a xen guest. The problem lies in the xen backend driver using a 32 bit integer xenstore interface to write the number of sectors corresponding to the file or device that represents the virtual disk. The first patch adds 64 bit integer write functions to the xenstore interface. The second patch fixes the xen backend driver to use this new function, allowing for more than 2147483647 sectors. Thanks, Felipe Felipe Franciosi (2): Introduce 64 bit integer write interface to xenstore Allow xen guests to plug disks of 1 TiB or more hw/xen_backend.c | 15 ++++++++++++++- hw/xen_backend.h | 2 ++ hw/xen_disk.c | 4 ++-- 3 files changed, 18 insertions(+), 3 deletions(-) -- 1.7.10.4
Stefano Stabellini
2013-Apr-03 15:21 UTC
Re: [PATCH 0/2] Allow xen guests to plug disks of 1 TiB or more
On Wed, 3 Apr 2013, Felipe Franciosi wrote:> This series fixes an issue where disks of 1 TiB or more cannot be added > to a xen guest. The problem lies in the xen backend driver using a 32 bit > integer xenstore interface to write the number of sectors corresponding > to the file or device that represents the virtual disk. > > The first patch adds 64 bit integer write functions to the xenstore > interface. The second patch fixes the xen backend driver to use this new > function, allowing for more than 2147483647 sectors. > > Thanks, > Felipe > > Felipe Franciosi (2): > Introduce 64 bit integer write interface to xenstore > Allow xen guests to plug disks of 1 TiB or more > > hw/xen_backend.c | 15 ++++++++++++++- > hw/xen_backend.h | 2 ++ > hw/xen_disk.c | 4 ++-- > 3 files changed, 18 insertions(+), 3 deletions(-)The patch series looks OK to me, I''ll submit a pull request for it. Thanks, Stefano
Stefano Stabellini
2013-Apr-05 23:45 UTC
Re: [PATCH 0/2] Allow xen guests to plug disks of 1 TiB or more
Ian, you might want to apply these two fixes to qemu-xen-traditional. On Wed, 3 Apr 2013, Felipe Franciosi wrote:> This series fixes an issue where disks of 1 TiB or more cannot be added > to a xen guest. The problem lies in the xen backend driver using a 32 bit > integer xenstore interface to write the number of sectors corresponding > to the file or device that represents the virtual disk. > > The first patch adds 64 bit integer write functions to the xenstore > interface. The second patch fixes the xen backend driver to use this new > function, allowing for more than 2147483647 sectors. > > Thanks, > Felipe > > Felipe Franciosi (2): > Introduce 64 bit integer write interface to xenstore > Allow xen guests to plug disks of 1 TiB or more > > hw/xen_backend.c | 15 ++++++++++++++- > hw/xen_backend.h | 2 ++ > hw/xen_disk.c | 4 ++-- > 3 files changed, 18 insertions(+), 3 deletions(-) > > -- > 1.7.10.4 >
Reasonably Related Threads
- [PATCH] xen_disk: cope with missing xenstore "params" node
- [PATCH] virtio_ring: fix description of virtqueue_get_buf
- [PATCH] virtio_ring: fix description of virtqueue_get_buf
- [PATCH] Rescan the entire target on transport reset when LUN is 0
- [PATCH] Rescan the entire target on transport reset when LUN is 0