]> git.proxmox.com Git - mirror_qemu.git/commit
vl: Create block backends before setting machine properties
authorMarkus Armbruster <armbru@redhat.com>
Fri, 8 Mar 2019 13:14:40 +0000 (14:14 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 11 Mar 2019 21:53:44 +0000 (22:53 +0100)
commitcda4aa9a5a08777cf13e164c0543bd4888b8adce
tree03a4fb89862d48e5fb6cc5acdbbdc0e243b4b48a
parentd11bf9bf0fd66057aa5e8acb1bbc797419d5a4e6
vl: Create block backends before setting machine properties

qemu-system-FOO's main() acts on command line arguments in its own
idiosyncratic order.  There's not much method to its madness.
Whenever we find a case where one kind of command line argument needs
to refer to something created for another kind later, we rejigger the
order.

Block devices get created long after machine properties get processed.
Therefore, block device machine properties can be created, but not
set.  No such properties exist.  But the next commit will create some.
Time to rejigger again: create block devices earlier.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190308131445.17502-8-armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
vl.c