]> xenbits.xensource.com Git - libvirt.git/commit
qemu: command: Split out geometry frontend attribute formatting from -drive
authorPeter Krempa <pkrempa@redhat.com>
Wed, 1 Nov 2017 15:31:55 +0000 (16:31 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 22 Nov 2017 19:37:35 +0000 (20:37 +0100)
commit401ddfa4e83ec7d71c39595fa16ef45523371068
tree07fa82dbd856c85d166ca9bdbc79c3e70eb5033b
parent3746a38e7b9ae5342675547624122d55e73d6c81
qemu: command: Split out geometry frontend attribute formatting from -drive

Historically we've formatted a lot of the attributes of a disk (disk
geometry, etc) with -drive. Since we use -device now, they should be
formatted there. Extract them to a separate function for keeping
compatibility with SDcards which still use only -drive.

Start this by moving the geometry into a separate function.
src/qemu/qemu_command.c