Block patches
Subsystems (2)
The following changes since commit e0a1e32dbc41e6b2aabb436a9417dfd32177a3dc:
Merge branch 'usb.64' of git://git.kraxel.org/qemu (2012-09-11 18:06:56 +0200)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
Benoît Canet (2):
qapi: Add SnapshotInfo and ImageInfo.
qemu-img: Add json output option to the info command.
Daniel P. Berrange (1):
Don't require encryption password for 'qemu-img info' command
Dunrong Huang (1):
block: Don't forget to delete temporary file
Jason Baron (1):
ahci: properly reset PxCMD on HBA reset
MORITA Kazutaka (1):
sheepdog: fix savevm and loadvm
Pavel Hrdina (1):
block: fix block tray status
Ronnie Sahlberg (1):
ATAPI: STARTSTOPUNIT only eject/load media if powercondition is 0
Stefan Weil (3):
ide: Fix error messages from static code analysis (no real error) block/curl: Fix wrong free statement
vdi: Fix warning from clang
Makefile | 3 +- block.c | 10 ++- block/curl.c | 3 +- block/sheepdog.c | 3 +- block/vdi.c | 25 +++--- hw/ide/ahci.c | 2 +- hw/ide/atapi.c | 6 ++ hw/ide/core.c | 11 +-- qapi-schema.json | 64 ++++++++++++++ qemu-img-cmds.hx | 4 +- qemu-img.c | 257 ++++++++++++++++++++++++++++++++++++++++++----------- qemu-img.texi | 5 +- 12 files changed, 305 insertions(+), 88 deletions(-)
PATCH 1/11 sheepdog: fix savevm and loadvm
From: MORITA Kazutaka <[email protected]>
This patch sets data to be sent to Sheepdog correctly and fixes savevm and loadvm operations on a Sheepdog image.
--- block/sheepdog.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
block/sheepdog.c +2 -1
@@ -1986,7 +1986,7 @@ static int do_load_save_vmstate(BDRVSheepdogState *s, uint8_t *data, vdi_index = pos /SD_DATA_OBJ_SIZE ; offset = pos %SD_DATA_OBJ_SIZE ; - data_len =MIN (remaining,SD_DATA_OBJ_SIZE ); + data_len =MIN (remaining,SD_DATA_OBJ_SIZE - offset); vmstate_oid =vid_to_vmstate_oid (s->inode.vdi_id, vdi_index);
@@ -2007,6 +2007,7 @@ static int do_load_save_vmstate(BDRVSheepdogState *s, uint8_t *data, } pos += data_len; + data += data_len; remaining -= data_len; } ret = size;
Signature · 1 line
1.7.6.5
PATCH 2/11 ATAPI: STARTSTOPUNIT only eject/load media if powercondition is 0
In reply to Kevin WolfFrom: Ronnie Sahlberg <[email protected]>
The START STOP UNIT command will only eject/load media if power condition is zero.
If power condition is !0 then LOEJ and START will be ignored.
Quoted 1 line
From MMC (sbc contains similar wordings too)
The Power Conditions field requests the block device to be placed in the power condition defined in
Table 558. If this field has a value other than 0h then the Start and LoEj bits shall be ignored.
--- hw/ide/atapi.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
hw/ide/atapi.c +6 -0
@@ -875,6 +875,12 @@ static void cmd_start_stop_unit(IDEState *s, uint8_t* buf)int sense;bool start = buf[4 ] &1 ;bool loej = buf[4 ] &2 ;/* load on start, eject on !start */ +int pwrcnd = buf[4 ] &0xf0 ; + +if (pwrcnd) { +/* eject/load only happens for power condition == 0 */ +return ; + }if (loej) {if (!start && !s->tray_open && s->tray_locked) {
Signature · 1 line
1.7.6.5
PATCH 3/11 ide: Fix error messages from static code analysis (no real error)
In reply to Kevin WolfFrom: Stefan Weil <[email protected]>
Report from smatch:hw/ide/core.c:1472 ide_exec_cmd(423) error: buffer overflow 'smart_attributes' 8 <= 29 hw/ide/core.c:1474 ide_exec_cmd(425) error: buffer overflow 'smart_attributes' 8 <= 29 hw/ide/core.c:1475 ide_exec_cmd(426) error: buffer overflow 'smart_attributes' 8 <= 29
...
The upper limit of 30 was never reached because both for loops terminated when 'smart_attributes' reached end of list, so there was no real buffer overflow.
Nevertheless, changing the code not only fixes the error report, but also reduces the size of smart_attributes and simplifies the for loops.
--- hw/ide/core.c | 11 ++--------- 1 files changed, 2 insertions(+), 9 deletions(-)
hw/ide/core.c +2 -9
@@ -53,8 +53,6 @@ static const int smart_attributes[][12] = { { 0x0c, 0x03, 0x00, 0x64, 0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},/* airflow-temperature-celsius */ { 190, 0x03, 0x00, 0x45, 0x45, 0x1f, 0x00, 0x1f, 0x1f, 0x00, 0x00, 0x32}, -/* end of list */ - { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} };static int ide_handle_rw_error (IDEState *s,int error,int op);
@@ -1468,9 +1466,7 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val)case SMART_READ_THRESH :memset (s->io_buffer,0 ,0x200 ); s->io_buffer[0 ] =0x01 ;/* smart struct version */ -for (n=0 ; n<30 ; n++) { -if (smart_attributes[n][0 ] ==0 ) -break ; +for (n =0 ; n <ARRAY_SIZE (smart_attributes); n++) { s->io_buffer[2 +0 +(n*12 )] = smart_attributes[n][0 ]; s->io_buffer[2 +1 +(n*12 )] = smart_attributes[n][11 ]; }
@@ -1484,10 +1480,7 @@ void ide_exec_cmd(IDEBus *bus, uint32_t val)case SMART_READ_DATA :memset (s->io_buffer,0 ,0x200 ); s->io_buffer[0 ] =0x01 ;/* smart struct version */ -for (n=0 ; n<30 ; n++) { -if (smart_attributes[n][0 ] ==0 ) { -break ; - } +for (n =0 ; n <ARRAY_SIZE (smart_attributes); n++) {int i;for (i =0 ; i <11 ; i++) { s->io_buffer[2 +i+(n*12 )] = smart_attributes[n][i];
Signature · 1 line
1.7.6.5
PATCH 4/11 block/curl: Fix wrong free statement
In reply to Kevin WolfFrom: Stefan Weil <[email protected]>
Report from smatch:block/curl.c:546 curl_close(21) info: redundant null check on s->url calling free()
The check was redundant, and free was also wrong because the memory was allocated using g_strdup.
--- block/curl.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
block/curl.c +1 -2
@@ -542,8 +542,7 @@ static void curl_close(BlockDriverState *bs) }if (s->multi)curl_multi_cleanup (s->multi); -if (s->url) -free (s->url); +g_free (s->url); }static int64_t curl_getlength (BlockDriverState *bs)
Signature · 1 line
1.7.6.5
PATCH 5/11 vdi: Fix warning from clang
In reply to Kevin WolfFrom: Stefan Weil <[email protected]>
ccc-analyzer reports these warnings:
block/vdi.c:704:13: warning: Dereference of null pointer
bmap[i] = VDI_UNALLOCATED;
^
block/vdi.c:702:13: warning: Dereference of null pointer
bmap[i] = i;
^Moving some code into the if block fixes this.
It also avoids calling function write with 0 bytes of data.
--- block/vdi.c | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-)
block/vdi.c +12 -13
@@ -628,7 +628,6 @@ static int vdi_create(const char *filename, QEMUOptionParameter *options)VdiHeader header;size_t i;size_t bmap_size; -uint32_t *bmap;logout ("\n" );
@@ -693,21 +692,21 @@ static int vdi_create(const char *filename, QEMUOptionParameter *options) result = -errno; } - bmap =NULL ;if (bmap_size >0 ) { - bmap = (uint32_t *)g_malloc0 (bmap_size); - } -for (i =0 ; i < blocks; i++) { -if (image_type ==VDI_TYPE_STATIC ) { - bmap[i] = i; - }else { - bmap[i] =VDI_UNALLOCATED ; +uint32_t *bmap =g_malloc0 (bmap_size); +for (i =0 ; i < blocks; i++) { +if (image_type ==VDI_TYPE_STATIC ) { + bmap[i] = i; + }else { + bmap[i] =VDI_UNALLOCATED ; + } } +if (write (fd, bmap, bmap_size) <0 ) { + result = -errno; + } +g_free (bmap); } -if (write (fd, bmap, bmap_size) <0 ) { - result = -errno; - } -g_free (bmap); +if (image_type ==VDI_TYPE_STATIC ) {if (ftruncate (fd,sizeof (header) + bmap_size + blocks * block_size)) { result = -errno;
Signature · 1 line
1.7.6.5
PATCH 6/11 block: fix block tray status
In reply to Kevin WolfFrom: Pavel Hrdina <[email protected]>
The tray status should change also if you eject empty block device.
--- block.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
block.c +2 -2
@@ -897,10 +897,10 @@ void bdrv_close(BlockDriverState *bs)bdrv_delete (bs->file); bs->file =NULL ; } - -bdrv_dev_change_media_cb (bs, false); } +bdrv_dev_change_media_cb (bs, false); +/*throttling disk I/O limits*/ if (bs->io_limits_enabled) {bdrv_io_limits_disable (bs);
Signature · 1 line
1.7.6.5
PATCH 7/11 ahci: properly reset PxCMD on HBA reset
In reply to Kevin WolfFrom: Jason Baron <[email protected]>
While testing q35, I found that windows 7 (specifically, windows 7 ultimate with sp1 x64), wouldn't install because it can't find the cdrom or disk drive. The failure message is: 'A required cd/dvd device driver is missing. If you have a driver floppy disk, CD, DVD, or USB flash drive, please insert it now.' This can also be reproduced on piix by adding an ahci controller, and observing that windows 7 does not see any devices behind it.
The problem is that when windows issues a HBA reset, qemu does not reset the individual ports' PxCMD register. Windows 7 then reads back the PxCMD register and presumably assumes that the ahci controller has already been initialized. Windows then never sets up the PxIE register to enable interrupts, and thus it never gets irqs back when it sends ata device inquiry commands.
This change brings qemu into ahci 1.3 specification compliance.
Section 10.4.3 HBA Reset:
"
When GHC.HR is set to '1', GHC.AE, GHC.IE, the IS register, and all port register fields (except PxFB/PxFBU/PxCLB/PxCLBU) that are not HwInit in the HBA's register memory space are reset.
"
I've also re-tested Fedora 16 and 17 to verify that they continue to work with this change.
--- hw/ide/ahci.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
hw/ide/ahci.c +1 -1
@@ -1175,7 +1175,6 @@ void ahci_init(AHCIState *s, DeviceState *qdev, DMAContext *dma, int ports) ad->port_no = i; ad->port.dma = &ad->dma; ad->port.dma->ops = &ahci_dma_ops; - ad->port_regs.cmd =PORT_CMD_SPIN_UP |PORT_CMD_POWER_ON ; } }
@@ -1199,6 +1198,7 @@ void ahci_reset(AHCIState *s) pr->irq_stat =0 ; pr->irq_mask =0 ; pr->scr_ctl =0 ; + pr->cmd =PORT_CMD_SPIN_UP |PORT_CMD_POWER_ON ;ahci_reset_port (s, i); } }
Signature · 1 line
1.7.6.5
PATCH 8/11 qapi: Add SnapshotInfo and ImageInfo.
In reply to Kevin WolfFrom: Benoît Canet <[email protected]>
--- qapi-schema.json | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-)
qapi-schema.json +64 -0
@@ -156,6 +156,70 @@ 'running', 'save-vm', 'shutdown', 'suspended', 'watchdog' ] } ## +# @SnapshotInfo +# +# @id: unique snapshot id +# +# @name: user chosen name +# +# @vm-state-size: size of the VM state +# +# @date-sec: UTC date of the snapshot in seconds +# +# @date-nsec: fractional part in nano seconds to be used with date-sec +# +# @vm-clock-sec: VM clock relative to boot in seconds +# +# @vm-clock-nsec: fractional part in nano seconds to be used with vm-clock-sec +# +# Since: 1.3 +# +## + +{ 'type': 'SnapshotInfo', + 'data': { 'id': 'str', 'name': 'str', 'vm-state-size': 'int', + 'date-sec': 'int', 'date-nsec': 'int', + 'vm-clock-sec': 'int', 'vm-clock-nsec': 'int' } } + +## +# @ImageInfo: +# +# Information about a QEMU image file +# +# @filename: name of the image file +# +# @format: format of the image file +# +# @virtual-size: maximum capacity in bytes of the image +# +# @actual-size: #optional actual size on disk in bytes of the image +# +# @dirty-flag: #optional true if image is not cleanly closed +# +# @cluster-size: #optional size of a cluster in bytes +# +# @encrypted: #optional true if the image is encrypted +# +# @backing-filename: #optional name of the backing file +# +# @full-backing-filename: #optional full path of the backing file +# +# @backing-filename-format: #optional the format of the backing file +# +# @snapshots: #optional list of VM snapshots +# +# Since: 1.3 +# +## + +{ 'type': 'ImageInfo', + 'data': {'filename': 'str', 'format': 'str', '*dirty-flag': 'bool', + '*actual-size': 'int', 'virtual-size': 'int', + '*cluster-size': 'int', '*encrypted': 'bool', + '*backing-filename': 'str', '*full-backing-filename': 'str', + '*backing-filename-format': 'str', '*snapshots': ['SnapshotInfo'] } } + +## # @StatusInfo: # # Information about VCPU run state
Signature · 1 line
1.7.6.5
PATCH 9/11 qemu-img: Add json output option to the info command.
In reply to Kevin WolfFrom: Benoît Canet <[email protected]>
This option --output=[human|json] make qemu-img info output on human or JSON representation at the choice of the user.
example:
{
"snapshots": [
{
"vm-clock-nsec": 637102488,
"name": "vm-20120821145509",
"date-sec": 1345553709,
"date-nsec": 220289000,
"vm-clock-sec": 20,
"id": "1",
"vm-state-size": 96522745
},
{
"vm-clock-nsec": 28210866,
"name": "vm-20120821154059",
"date-sec": 1345556459,
"date-nsec": 171392000,
"vm-clock-sec": 46,
"id": "2",
"vm-state-size": 101208714
}
],
"virtual-size": 1073741824,
"filename": "snap.qcow2",
"cluster-size": 65536,
"format": "qcow2",
"actual-size": 985587712,
"dirty-flag": false
}--- Makefile | 3 +- qemu-img-cmds.hx | 4 +- qemu-img.c | 236 ++++++++++++++++++++++++++++++++++++++++++++---------- qemu-img.texi | 5 +- 4 files changed, 199 insertions(+), 49 deletions(-)
Makefile +2 -1
@@ -157,7 +157,8 @@ tools-obj-y = $(oslib-obj-y) $(trace-obj-y) qemu-tool.o qemu-timer.o \ iohandler.o cutils.o iov.o async.o tools-obj-$(CONFIG_POSIX) += compatfd.o -qemu-img$(EXESUF): qemu-img.o $(tools-obj-y) $(block-obj-y) +qemu-img$(EXESUF): qemu-img.o $(tools-obj-y) $(block-obj-y) $(qapi-obj-y) \ + qapi-visit.o qapi-types.o qemu-nbd$(EXESUF): qemu-nbd.o $(tools-obj-y) $(block-obj-y) qemu-io$(EXESUF): qemu-io.o cmd.o $(tools-obj-y) $(block-obj-y)
qemu-img-cmds.hx +2 -2
@@ -34,9 +34,9 @@ STEXI ETEXI DEF("info", img_info, - "info [-f fmt] filename") + "info [-f fmt] [--output=ofmt] filename") STEXI -@item info [-f @var{fmt}] @var{filename} +@item info [-f @var{fmt}] [--output=@var{ofmt}] @var{filename} ETEXI DEF("snapshot", img_snapshot,
qemu-img.c +192 -44
285 lines not on this page · raw message
qemu-img.texi +3 -2
@@ -129,12 +129,13 @@ created as a copy on write image of the specified base image; the @var{backing_file} should have the same content as the input's base image, however the path, image format, etc may differ. -@item info [-f @var{fmt}] @var{filename} +@item info [-f @var{fmt}] [--output=@var{ofmt}] @var{filename} Give information about the disk image @var{filename}. Use it in particular to know the size reserved on disk which can be different from the displayed size. If VM snapshots are stored in the disk image, -they are displayed too. +they are displayed too. The command can output in the format @var{ofmt} +which is either @code{human} or @code{json}. @item snapshot [-l | -a @var{snapshot} | -c @var{snapshot} | -d @var{snapshot} ] @var{filename}
Signature · 1 line
1.7.6.5
PATCH 10/11 Don't require encryption password for 'qemu-img info' command
In reply to Kevin WolfFrom: "Daniel P. Berrange" <[email protected]>
The encryption password is only required if I/O is going to be performed on a disk image. The 'qemu-img info' command merely reports metadata, so it should not ask for a decryption password
--- qemu-img.c | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-)
qemu-img.c +11 -10
@@ -226,7 +226,8 @@ static int print_block_option_help(const char *filename, const char *fmt)static BlockDriverState *bdrv_new_open (const char *filename,const char *fmt, -int flags) +int flags, +bool require_io) {BlockDriverState *bs;BlockDriver *drv;
@@ -251,7 +252,7 @@ static BlockDriverState *bdrv_new_open(const char *filename, goto fail; } -if (bdrv_is_encrypted (bs)) { +if (bdrv_is_encrypted (bs) && require_io) {printf ("Disk image '%s' is encrypted.\n" , filename);if (read_password (password,sizeof (password)) <0 ) {error_report ("No password given" );
@@ -418,7 +419,7 @@ static int img_check(int argc, char **argv) } filename = argv[optind++]; - bs =bdrv_new_open (filename, fmt, flags); + bs =bdrv_new_open (filename, fmt, flags, true);if (!bs) {return 1 ; }
@@ -525,7 +526,7 @@ static int img_commit(int argc, char **argv)return -1 ; } - bs =bdrv_new_open (filename, fmt, flags); + bs =bdrv_new_open (filename, fmt, flags, true);if (!bs) {return 1 ; }
@@ -767,7 +768,7 @@ static int img_convert(int argc, char **argv) total_sectors =0 ;for (bs_i =0 ; bs_i < bs_n; bs_i++) { - bs[bs_i] =bdrv_new_open (argv[optind + bs_i], fmt,BDRV_O_FLAGS ); + bs[bs_i] =bdrv_new_open (argv[optind + bs_i], fmt,BDRV_O_FLAGS , true);if (!bs[bs_i]) {error_report ("Could not open '%s'" , argv[optind + bs_i]); ret =-1 ;
@@ -886,7 +887,7 @@ static int img_convert(int argc, char **argv)return -1 ; } - out_bs =bdrv_new_open (out_filename, out_fmt, flags); + out_bs =bdrv_new_open (out_filename, out_fmt, flags, true);if (!out_bs) { ret =-1 ; goto out;
@@ -1305,7 +1306,7 @@ static int img_info(int argc, char **argv)return 1 ; } - bs =bdrv_new_open (filename, fmt,BDRV_O_FLAGS |BDRV_O_NO_BACKING ); + bs =bdrv_new_open (filename, fmt,BDRV_O_FLAGS |BDRV_O_NO_BACKING , false);if (!bs) {return 1 ; }
@@ -1396,7 +1397,7 @@ static int img_snapshot(int argc, char **argv) filename = argv[optind++];/* Open the image */ - bs =bdrv_new_open (filename,NULL , bdrv_oflags); + bs =bdrv_new_open (filename,NULL , bdrv_oflags, true);if (!bs) {return 1 ; }
@@ -1514,7 +1515,7 @@ static int img_rebase(int argc, char **argv)* Ignore the old backing file for unsafe rebase in case we want to correct * the reference to a renamed or moved backing file. */ - bs =bdrv_new_open (filename, fmt, flags); + bs =bdrv_new_open (filename, fmt, flags, true);if (!bs) {return 1 ; }
@@ -1787,7 +1788,7 @@ static int img_resize(int argc, char **argv) n =qemu_opt_get_size (param,BLOCK_OPT_SIZE ,0 );qemu_opts_del (param); - bs =bdrv_new_open (filename, fmt,BDRV_O_FLAGS |BDRV_O_RDWR ); + bs =bdrv_new_open (filename, fmt,BDRV_O_FLAGS |BDRV_O_RDWR , true);if (!bs) { ret =-1 ; goto out;
Signature · 1 line
1.7.6.5
PATCH 11/11 block: Don't forget to delete temporary file
In reply to Kevin WolfFrom: Dunrong Huang <[email protected]>
The caller would not delete temporary file after failed get_tmp_filename().
--- block.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
block.c +5 -1
@@ -433,7 +433,11 @@ int get_tmp_filename(char *filename, int size)return -EOVERFLOW ; } fd =mkstemp (filename); -if (fd <0 ||close (fd)) { +if (fd <0 ) { +return -errno; + } +if (close (fd) !=0 ) { +unlink (filename);return -errno; }return 0 ;
Signature · 1 line
1.7.6.5
Quoted 8 lines · Kevin Wolf
The following changes since commit
e0a1e32dbc41e6b2aabb436a9417dfd32177a3dc:Merge branch 'usb.64' of
git://git.kraxel.org/qemu(2012-09-11 18:06:56 +0200)are available in the git repository at:
git://repo.or.cz/qemu/kevin.gitfor-anthony
Pulled. Thanks.
Regards,
Anthony Liguori
Quoted 40 lines
Benoît Canet (2):
qapi: Add SnapshotInfo and ImageInfo.
qemu-img: Add json output option to the info command.Daniel P. Berrange (1):
Don't require encryption password for 'qemu-img info' commandDunrong Huang (1):
block: Don't forget to delete temporary fileJason Baron (1):
ahci: properly reset PxCMD on HBA resetMORITA Kazutaka (1):
sheepdog: fix savevm and loadvmPavel Hrdina (1):
block: fix block tray statusRonnie Sahlberg (1):
ATAPI: STARTSTOPUNIT only eject/load media if powercondition is 0Stefan Weil (3):
ide: Fix error messages from static code analysis (no real error) block/curl: Fix wrong free statement
vdi: Fix warning from clangMakefile | 3 +- block.c | 10 ++- block/curl.c | 3 +- block/sheepdog.c | 3 +- block/vdi.c | 25 +++--- hw/ide/ahci.c | 2 +- hw/ide/atapi.c | 6 ++ hw/ide/core.c | 11 +-- qapi-schema.json | 64 ++++++++++++++ qemu-img-cmds.hx | 4 +- qemu-img.c | 257 ++++++++++++++++++++++++++++++++++++++++++----------- qemu-img.texi | 5 +- 12 files changed, 305 insertions(+), 88 deletions(-)
Quoted 7 lines · Kevin Wolf
The following changes since commit
e0a1e32dbc41e6b2aabb436a9417dfd32177a3dc:Merge branch 'usb.64' of
git://git.kraxel.org/qemu(2012-09-11 18:06:56 +0200)are available in the git repository at:
git://repo.or.cz/qemu/kevin.gitfor-anthony
Are any of these appropriate for -stable? I think some are, below:
Quoted 9 lines
Benoît Canet (2):
qapi: Add SnapshotInfo and ImageInfo.
qemu-img: Add json output option to the info command.Daniel P. Berrange (1):
Don't require encryption password for 'qemu-img info' commandDunrong Huang (1):
block: Don't forget to delete temporary file
This? Appears to be a minor case.
Quoted 2 lines
Jason Baron (1):
ahci: properly reset PxCMD on HBA reset
Most likely this. Jason?
Quoted 2 lines
MORITA Kazutaka (1):
sheepdog: fix savevm and loadvm
This, but does anyone really use sheepdog with savevm/loadvm? Probably a very minor issue too, not worth -stable.
Quoted 2 lines
Pavel Hrdina (1):
block: fix block tray status
And this,
Quoted 2 lines
Ronnie Sahlberg (1):
ATAPI: STARTSTOPUNIT only eject/load media if powercondition is 0
And probably this too? I'm not sure about this one. Ronnie?
Quoted 4 lines
Stefan Weil (3):
ide: Fix error messages from static code analysis (no real error) block/curl: Fix wrong free statement
vdi: Fix warning from clang
Thanks,
/mjt
Am 18.09.2012 19:49, schrieb Michael Tokarev:
Quoted 10 lines · Kevin Wolf
Quoted 7 lines
The following changes since commit
e0a1e32dbc41e6b2aabb436a9417dfd32177a3dc:Merge branch 'usb.64' of
git://git.kraxel.org/qemu(2012-09-11 18:06:56 +0200)are available in the git repository at:
git://repo.or.cz/qemu/kevin.gitfor-anthonyAre any of these appropriate for -stable? I think some are, below:
I think all of your suggestions would be appropriate, even though most of them fix rather theoretical cases.
Quoted 4 lines
Quoted 2 lines
Jason Baron (1):
ahci: properly reset PxCMD on HBA resetMost likely this. Jason?
Yes, this fixes a real visible bug with AHCI CD-ROMs.
Kevin