Commit graph

7 commits

Author SHA1 Message Date
espes
282894119a Merge tag 'v1.7.0' into xbox17
Conflicts:
	blockdev.c
	hw/audio/ac97.c
2015-06-21 00:56:44 +10:00
Kevin Wolf
2d246f01d3 blockdev: Introduce DriveInfo.enable_auto_del
BlockDriverStates shouldn't be affected by an unplugged guest device,
except if created with the legacy -drive command line option or the
drive_add HMP command.

Make the automatic deletion as well as cancelling of jobs conditional on
an enable_auto_del boolean that is only set in drive_init().

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
2013-10-11 16:50:01 +02:00
espes
11462f95e6 exposing adding devices directly instead o just through drive_init
(we can't use drive_init to create a memory block device since it only
 takes string arguments :/)
2013-04-18 13:09:34 +10:00
espes
82a4db30c9 Merge commit 'b1999e8' into xbox
Conflicts:
	blockdev.c
	configure
	hw/pci/pci_ids.h
	qemu-config.c
2013-03-19 05:21:23 +11:00
Kevin Wolf
bb44619b06 blockdev: Keep a copy of DriveInfo.serial
Pointing to a QemuOpts element is surprising and can lead to subtle
use-after-free errors when the QemuOpts is freed after all options are
parsed.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-03-15 16:07:49 +01:00
espes
f5a5856665 Merge remote-tracking branch 'origin/master' into xbox
Conflicts:
	hw/pci/pci_ids.h
2012-12-25 17:33:35 +10:00
Paolo Bonzini
9c17d615a6 softmmu: move include files to include/sysemu/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2012-12-19 08:32:45 +01:00
Renamed from blockdev.h (Browse further)