#
b3976d3c |
| 12-Jul-2011 |
Fam Zheng <famcool@gmail.com> |
VMDK: introduce VmdkExtent
Introduced VmdkExtent array into BDRVVmdkState, enable holding multiple image extents for multiple file image support.
Signed-off-by: Fam Zheng <famcool@gmail.com> Review
VMDK: introduce VmdkExtent
Introduced VmdkExtent array into BDRVVmdkState, enable holding multiple image extents for multiple file image support.
Signed-off-by: Fam Zheng <famcool@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
Revision tags: qemu-kvm-0.12.1.2-2.169.el6, qemu-kvm-0.12.1.2-2.168.el6, qemu-kvm-0.12.1.2-2.167.el6, qemu-kvm-0.12.1.2-2.166.el6, qemu-kvm-0.12.1.2-2.160.el6_1.2, qemu-kvm-0.12.1.2-2.160.el6_1, qemu-kvm-0.12.1.2-2.165.el6 |
|
#
befeac45 |
| 14-Jun-2011 |
Michael S. Tsirkin <mst@redhat.com> |
Merge remote-tracking branch 'origin/master' into pci
Conflicts: hw/virtio-pci.c
|
Revision tags: qemu-kvm-0.12.1.2-2.164.el6, qemu-kvm-0.12.1.2-2.163.el6 |
|
#
16372ff0 |
| 24-May-2011 |
Alexander Graf <agraf@suse.de> |
vmdk: fix endianness bugs
The vmdk code is sloppy when handling the header descriptor during creation of an image. Fix all header accesses in the create path to either store native endianness or con
vmdk: fix endianness bugs
The vmdk code is sloppy when handling the header descriptor during creation of an image. Fix all header accesses in the create path to either store native endianness or convert it when appropriate.
Reported-by: Yury Tsarev <ytsarev@novell.com> Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
Revision tags: qemu-kvm-0.12.1.2-2.162.el6, qemu-kvm-0.14.1, v0.14.1, qemu-kvm-0.12.1.2-2.161.el6, RHEL-6.1, qemu-kvm-0.12.1.2-2.160.el6, qemu-kvm-0.12.1.2-2.159.el6, qemu-kvm-0.12.1.2-2.158.el6, qemu-kvm-0.12.1.2-2.157.el6, qemu-kvm-0.12.1.2-2.156.el6, qemu-kvm-0.12.1.2-2.155.el6, qemu-kvm-0.12.1.2-2.154.el6, qemu-kvm-0.12.1.2-2.153.el6, qemu-kvm-0.12.1.2-2.152.el6, qemu-kvm-0.12.1.2-2.151.el6, qemu-kvm-0.12.1.2-2.150.el6, qemu-kvm-0.12.1.2-2.113.el6_0.8, qemu-kvm-0.12.1.2-2.149.el6, qemu-kvm-0.12.1.2-2.148.el6, qemu-kvm-0.12.1.2-2.113.el6_0.7, qemu-kvm-0.14.0, qemu-kvm-0.12.1.2-2.147.el6, v0.14.0, qemu-kvm-0.12.1.2-2.146.el6, qemu-kvm-0.12.1.2-2.145.el6, v0.14.0-rc2, qemu-kvm-0.14.0-rc1, qemu-kvm-0.14.0-rc0, qemu-kvm-0.12.1.2-2.144.el6, v0.14.0-rc1, qemu-kvm-0.12.1.2-2.143.el6, qemu-kvm-0.12.1.2-2.142.el6, qemu-kvm-0.12.1.2-2.141.el6, qemu-kvm-0.12.1.2-2.140.el6, qemu-kvm-0.12.1.2-2.139.el6, qemu-kvm-0.12.1.2-2.138.el6, qemu-kvm-0.12.1.2-2.137.el6, qemu-kvm-0.12.1.2-2.136.el6, qemu-kvm-0.12.1.2-2.135.el6, v0.14.0-rc0, qemu-kvm-0.12.1.2-2.134.el6, qemu-kvm-0.12.1.2-2.133.el6, qemu-kvm-0.12.1.2-2.132.el6, qemu-kvm-0.12.1.2-2.131.el6, qemu-kvm-0.12.1.2-2.130.el6, qemu-kvm-0.12.1.2-2.129.el6, qemu-kvm-0.12.1.2-2.113.el6_0.6, qemu-kvm-0.12.1.2-2.128.el6, qemu-kvm-0.12.1.2-2.127.el6, qemu-kvm-0.12.1.2-2.126.el6, qemu-kvm-0.12.1.2-2.113.el6_0.5, qemu-kvm-0.12.1.2-2.125.el6, qemu-kvm-0.12.1.2-2.124.el6, qemu-kvm-0.12.1.2-2.123.el6, qemu-kvm-0.12.1.2-2.122.el6, qemu-kvm-0.12.1.2-2.121.el6 |
|
#
c924f36a |
| 30-Nov-2010 |
Michael S. Tsirkin <mst@redhat.com> |
Merge remote branch 'origin/master' into pci
Conflicts: Makefile.objs hw/virtio.c
|
#
09fa35e5 |
| 30-Nov-2010 |
Anthony Liguori <aliguori@us.ibm.com> |
Merge remote branch 'kwolf/for-anthony' into staging
|
Revision tags: qemu-kvm-0.12.1.2-2.120.el6, qemu-kvm-0.12.1.2-2.113.el6_0.4, qemu-kvm-0.12.1.2-2.119.el6 |
|
#
80465c50 |
| 16-Nov-2010 |
Kevin Wolf <kwolf@redhat.com> |
block: Remove unused s->hd in various drivers
All drivers use bs->file instead of s->hd for quite a while now, so it's time to remove s->hd.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by
block: Remove unused s->hd in various drivers
All drivers use bs->file instead of s->hd for quite a while now, so it's time to remove s->hd.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
show more ...
|
Revision tags: qemu-kvm-0.12.1.2-2.118.el6, qemu-kvm-0.12.1.2-2.117.el6 |
|
#
205ef796 |
| 21-Oct-2010 |
Kevin Wolf <kwolf@redhat.com> |
block: Allow bdrv_flush to return errors
This changes bdrv_flush to return 0 on success and -errno in case of failure. It's a requirement for implementing proper error handle in users of bdrv_flush.
block: Allow bdrv_flush to return errors
This changes bdrv_flush to return 0 on success and -errno in case of failure. It's a requirement for implementing proper error handle in users of bdrv_flush.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
show more ...
|
Revision tags: qemu-kvm-0.13.0, v0.13.0, qemu-kvm-0.12.1.2-2.116.el6, qemu-kvm-0.12.1.2-2.113.el6_0.3, qemu-kvm-0.12.1.2-2.113.el6_0.2, qemu-kvm-0.13.0-rc3, v0.13.0-rc3, v0.13.0-rc2, qemu-kvm-0.12.1.2-2.115.el6, qemu-kvm-0.12.1.2-2.114.el6, qemu-kvm-0.12.1.2-2.113.el6_0.1, qemu-kvm-0.13.0-rc1, v0.13.0-rc1, RHEL-6.0, qemu-kvm-0.12.1.2-2.113.el6, qemu-kvm-0.12.1.2-2.112.el6, qemu-kvm-0.12.1.2-2.111.el6, qemu-kvm-0.12.1.2-2.110.el6, qemu-kvm-0.12.1.2-2.109.el6, qemu-kvm-0.12.1.2-2.108.el6, qemu-kvm-0.12.1.2-2.107.el6, qemu-kvm-0.12.1.2-2.106.el6, qemu-kvm-0.12.1.2-2.105.el6, qemu-kvm-0.12.1.2-2.104.el6, qemu-kvm-0.12.1.2-2.103.el6, qemu-kvm-0.12.1.2-2.102.el6, qemu-kvm-0.12.1.2-2.101.el6, v0.13.0-rc0, qemu-kvm-0.12.5, qemu-kvm-0.12.1.2-2.100.el6, qemu-kvm-0.12.1.2-2.99.el6, qemu-kvm-0.12.1.2-2.98.el6, v0.12.5, qemu-kvm-0.12.1.2-2.97.el6, qemu-kvm-0.12.1.2-2.96.el6, qemu-kvm-0.12.1.2-2.95.el6, qemu-kvm-0.12.1.2-2.94.el6, qemu-kvm-0.12.1.2-2.93.el6, qemu-kvm-0.12.1.2-2.92.el6, qemu-kvm-0.12.1.2-2.91.el6, qemu-kvm-0.12.1.2-2.90.el6, qemu-kvm-0.12.1.2-2.89.el6, qemu-kvm-0.12.1.2-2.88.el6, qemu-kvm-0.12.1.2-2.87.el6, qemu-kvm-0.12.1.2-2.86.el6, qemu-kvm-0.12.1.2-2.85.el6, qemu-kvm-0.12.1.2-2.84.el6, qemu-kvm-0.12.1.2-2.83.el6, qemu-kvm-0.12.1.2-2.82.el6, qemu-kvm-0.12.1.2-2.81.el6, qemu-kvm-0.12.1.2-2.80.el6, qemu-kvm-0.12.1.2-2.79.el6, qemu-kvm-0.12.1.2-2.78.el6 |
|
#
b8852e87 |
| 18-Jun-2010 |
Kevin Wolf <kwolf@redhat.com> |
vmdk: Use bdrv_(p)write_sync for metadata writes
Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
Revision tags: qemu-kvm-0.12.1.2-2.77.el6, qemu-kvm-0.12.1.2-2.76.el6, qemu-kvm-0.12.1.2-2.75.el6, qemu-kvm-0.12.1.2-2.74.el6, qemu-kvm-0.12.1.2-2.73.el6, qemu-kvm-0.12.1.2-2.72.el6, qemu-kvm-0.12.1.2-2.71.el6, qemu-kvm-0.12.1.2-2.70.el6, qemu-kvm-0.12.1.2-2.69.el6, qemu-kvm-0.12.1.2-2.68.el6, qemu-kvm-0.12.1.2-2.67.el6, qemu-kvm-0.12.1.2-2.66.el6, qemu-kvm-0.12.1.2-2.65.el6, qemu-kvm-0.12.1.2-2.64.el6, qemu-kvm-0.12.1.2-2.63.el6, qemu-kvm-0.12.1.2-2.62.el6, qemu-kvm-0.12.1.2-2.61.el6, qemu-kvm-0.12.1.2-2.60.el6, qemu-kvm-0.12.1.2-2.59.el6, qemu-kvm-0.12.1.2-2.58.el6, qemu-kvm-0.12.1.2-2.57.el6, qemu-kvm-0.12.1.2-2.56.el6, qemu-kvm-0.12.1.2-2.55.el6, qemu-kvm-0.12.1.2-2.54.el6, qemu-kvm-0.12.1.2-2.53.el6, qemu-kvm-0.12.1.2-2.52.el6, qemu-kvm-0.12.4, qemu-kvm-0.12.1.2-2.51.el6, qemu-kvm-0.12.1.2-2.50.el6, qemu-kvm-0.12.1.2-2.49.el6, v0.12.4 |
|
#
72375c22 |
| 03-May-2010 |
Anthony Liguori <aliguori@us.ibm.com> |
Merge remote branch 'kwolf/for-anthony' into HEAD
|
Revision tags: qemu-kvm-0.12.1.2-2.48.el6, qemu-kvm-0.12.1.2-2.47.el6, qemu-kvm-0.12.1.2-2.46.el6, qemu-kvm-0.12.1.2-2.45.el6, qemu-kvm-0.12.1.2-2.44.el6, qemu-kvm-0.12.1.2-2.43.el6, qemu-kvm-0.12.1.2-2.42.el6, qemu-kvm-0.12.1.2-2.40.el6, qemu-kvm-0.12.1.2-2.41.el6, qemu-kvm-0.12.1.2-2.39.el6 |
|
#
6511ef77 |
| 16-Apr-2010 |
Kevin Wolf <kwolf@redhat.com> |
vmdk: Convert to bdrv_open
It's a format driver, so implement bdrv_open instead of bdrv_file_open.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|
#
9949f97e |
| 16-Apr-2010 |
Kevin Wolf <kwolf@redhat.com> |
vmdk: Clean up backing file handling
VMDK is doing interesting things when it needs to open a backing file. This patch changes that part to look more like in other drivers. The nice side effect is t
vmdk: Clean up backing file handling
VMDK is doing interesting things when it needs to open a backing file. This patch changes that part to look more like in other drivers. The nice side effect is that the file name isn't needed any more in the open function.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
#
c336500d |
| 16-Apr-2010 |
Kevin Wolf <kwolf@redhat.com> |
vmdk: Fix COW
When trying to do COW, VMDK wrote the data back to the backing file. This problem was revealed by the patch that made backing files read-only. This patch does not only fix the problem,
vmdk: Fix COW
When trying to do COW, VMDK wrote the data back to the backing file. This problem was revealed by the patch that made backing files read-only. This patch does not only fix the problem, but also simplifies the VMDK code a bit.
This fixes the backing file qemu-iotests cases for VMDK.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
#
66f82cee |
| 14-Apr-2010 |
Kevin Wolf <kwolf@redhat.com> |
block: Open the underlying image file in generic code
Format drivers shouldn't need to bother with things like file names, but rather just get an open BlockDriverState for the underlying protocol. T
block: Open the underlying image file in generic code
Format drivers shouldn't need to bother with things like file names, but rather just get an open BlockDriverState for the underlying protocol. This patch introduces this behaviour for bdrv_open implementation. For protocols which need to access the filename to open their file/device/connection/... a new callback bdrv_file_open is introduced which doesn't get an underlying file opened.
For now, also some of the more obscure formats use bdrv_file_open because they open() the file themselves instead of using the block.c functions. They need to be fixed in later patches.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
Revision tags: qemu-kvm-0.12.1.2-2.38.el6, qemu-kvm-0.12.1.2-2.37.el6, qemu-kvm-0.12.1.2-2.36.el6, qemu-kvm-0.12.1.2-2.35.el6 |
|
#
d6e9098e |
| 31-Mar-2010 |
Kevin Wolf <kwolf@redhat.com> |
Replace calls of old bdrv_open
What is known today as bdrv_open2 becomes the new bdrv_open. All remaining callers of the old function are converted to the new one. In some places they even know the
Replace calls of old bdrv_open
What is known today as bdrv_open2 becomes the new bdrv_open. All remaining callers of the old function are converted to the new one. In some places they even know the right format, so they should have used bdrv_open2 from the beginning.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
Revision tags: qemu-kvm-0.12.1.2-2.34.el6, qemu-kvm-0.12.1.2-2.33.el6, qemu-kvm-0.12.1.2-2.32.el6, qemu-kvm-0.12.1.2-2.31.el6, qemu-kvm-0.12.1.2-2.30.el6, qemu-kvm-0.12.1.2-2.29.el6, qemu-kvm-0.12.1.2-2.28.el6, qemu-kvm-0.12.1.2-2.27.el6, qemu-kvm-0.12.1.2-2.26.el6, qemu-kvm-0.12.1.2-2.25.el6, qemu-kvm-0.12.1.2-2.24.el6 |
|
#
3829cb46 |
| 04-Mar-2010 |
Juan Quintela <quintela@redhat.com> |
vmdk: share cleanup code
cleanup code is identical for error/success cases. Only difference are goto labels.
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <alig
vmdk: share cleanup code
cleanup code is identical for error/success cases. Only difference are goto labels.
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
#
a161329b |
| 04-Mar-2010 |
Juan Quintela <quintela@redhat.com> |
vmdk: fix double free
fail_gd error case would also free rgd_buf that was already freed
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
53c2e716 |
| 04-Mar-2010 |
Juan Quintela <quintela@redhat.com> |
vmdk: make vmdk_snapshot_create return -errno
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
#
b781cce5 |
| 04-Mar-2010 |
Juan Quintela <quintela@redhat.com> |
vmdk: return errno instead of -1
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
Revision tags: qemu-kvm-0.12.3, v0.12.3, qemu-kvm-0.12.1.2-2.18.el6, qemu-kvm-0.12.1.2-2.17.el6, qemu-kvm-0.12.1.2-2.15.el6, qemu-kvm-0.12.1.2-2.16.el6, qemu-kvm-0.12.1.2-2.14.el6, qemu-kvm-0.12.1.2-2.13.el6, qemu-kvm-0.12.1.2-2.12.el6 |
|
#
1640366c |
| 19-Jan-2010 |
Kirill A. Shutemov <kirill@shutemov.name> |
block/vmdk.o: fix warnings with _FORTIFY_SOURCE
CC block/vmdk.o cc1: warnings being treated as errors block/vmdk.c: In function 'vmdk_snapshot_create': block/vmdk.c:236: error: ignoring return va
block/vmdk.o: fix warnings with _FORTIFY_SOURCE
CC block/vmdk.o cc1: warnings being treated as errors block/vmdk.c: In function 'vmdk_snapshot_create': block/vmdk.c:236: error: ignoring return value of 'ftruncate', declared with attribute warn_unused_result block/vmdk.c: In function 'vmdk_create': block/vmdk.c:775: error: ignoring return value of 'write', declared with attribute warn_unused_result block/vmdk.c:776: error: ignoring return value of 'write', declared with attribute warn_unused_result block/vmdk.c:778: error: ignoring return value of 'ftruncate', declared with attribute warn_unused_result block/vmdk.c:784: error: ignoring return value of 'write', declared with attribute warn_unused_result block/vmdk.c:790: error: ignoring return value of 'write', declared with attribute warn_unused_result block/vmdk.c:807: error: ignoring return value of 'write', declared with attribute warn_unused_result make: *** [block/vmdk.o] Error 1
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
Revision tags: qemu-kvm-0.12.1.2-2.11.el6, qemu-kvm-0.12.2 |
|
#
f5edb014 |
| 17-Jan-2010 |
Naphtali Sprei <nsprei@redhat.com> |
Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.
In
Clean-up a little bit the RW related bits of BDRV_O_FLAGS. BDRV_O_RDONLY gone (and so is BDRV_O_ACCESS). Default value for bdrv_flags (0/zero) is READ-ONLY. Need to explicitly request READ-WRITE.
Instead of using the field 'readonly' of the BlockDriverState struct for passing the request, pass the request in the flags parameter to the function.
Signed-off-by: Naphtali Sprei <nsprei@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
Revision tags: qemu-kvm-0.12.1.2-2.10.el6, qemu-kvm-0.12.1.2-2.6.el6, qemu-kvm-0.12.1.2-2.7.el6, qemu-kvm-0.12.1.2-2.8.el6, qemu-kvm-0.12.1.2-2.9.el6, v0.12.2, qemu-kvm-0.12.1.2-2.1.el6, qemu-kvm-0.12.1.2-2.2.el6, qemu-kvm-0.12.1.2-2.3.el6, qemu-kvm-0.12.1.2, qemu-kvm-0.12.1.1, qemu-kvm-0.12.1, v0.12.1, v0.12.0, qemu-kvm-0.12.0-rc2, v0.12.0-rc2, v0.12.0-rc1, v0.12.0-rc0, qemu-kvm-0.11.1, v0.11.1, qemu-kvm-0.11.0, v0.11.0, qemu-kvm-0.11.0-rc2, qemu-kvm-0.11.0-rc2-test1, v0.11.0-rc2, qemu-kvm-0.11.0-rc1, qemu-kvm-0.10.6, v0.11.0-rc1 |
|
#
b171271a |
| 17-Jul-2009 |
Kevin Wolf <kwolf@redhat.com> |
vmdk: Fix backing file handling
Instead of storing the backing file in its own BlockDriverState, VMDK uses the BlockDriverState of the raw image file it opened. This is wrong and breaks functions th
vmdk: Fix backing file handling
Instead of storing the backing file in its own BlockDriverState, VMDK uses the BlockDriverState of the raw image file it opened. This is wrong and breaks functions that access the backing file or protocols. This fix replaces all occurrences of s->hd->backing_* with bs->backing_*.
This fixes qemu-iotests failure in 020 (Commit changes to backing file).
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
Revision tags: v0.10.6, v0.11.0-rc0, kvm-88, kvm-88rc3, kvm-88rc1, kvm-88rc2, kvm-87, kvm-87rc7, kvm-87rc3, kvm-87rc4, kvm-87rc5, kvm-87rc6, kvm-87rc2, kvm-87rc1 |
|
#
db08adf5 |
| 04-Jun-2009 |
Kevin Wolf <kwolf@redhat.com> |
qemu-img: Print available options with -o ?
This patch adds a small help text to each of the options in the block drivers which can be displayed by using qemu-img create -f fmt -o ?
Signed-off-by:
qemu-img: Print available options with -o ?
This patch adds a small help text to each of the options in the block drivers which can be displayed by using qemu-img create -f fmt -o ?
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
show more ...
|
Revision tags: qemu-kvm-0.10.5, qemu-kvm-0.10.5rc1, v0.10.5, kvm-86 |
|
#
0e7e1989 |
| 18-May-2009 |
Kevin Wolf <kwolf@redhat.com> |
Convert all block drivers to new bdrv_create
Now we can make use of the newly introduced option structures. Instead of having bdrv_create carry more and more parameters (which are format specific in
Convert all block drivers to new bdrv_create
Now we can make use of the newly introduced option structures. Instead of having bdrv_create carry more and more parameters (which are format specific in most cases), just pass a option structure as defined by the driver itself.
bdrv_create2() contains an emulation of the old interface to simplify the transition.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
show more ...
|
Revision tags: kvm-86rc2, qemu-kvm-0.10.4, v0.10.4 |
|
#
019d6b8f |
| 09-May-2009 |
Anthony Liguori <aliguori@us.ibm.com> |
Move block drivers into their own directory
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|