aboutsummaryrefslogtreecommitdiff
path: root/coroutine-ucontext.c
diff options
context:
space:
mode:
authorGonglei <arei.gonglei@huawei.com>2014-10-07 16:00:33 +0800
committerGerd Hoffmann <kraxel@redhat.com>2014-10-15 10:27:07 +0200
commit89f0762dde298aac6949e1cefe06ab4ed13b1135 (patch)
tree212e08b7ea912b7305a0909616fb23b99742aef7 /coroutine-ucontext.c
parentaeb98ddc50defe9479d81fcb2afb9aa0c5b61bc8 (diff)
downloadqemu-89f0762dde298aac6949e1cefe06ab4ed13b1135.zip
qemu-89f0762dde298aac6949e1cefe06ab4ed13b1135.tar.gz
qemu-89f0762dde298aac6949e1cefe06ab4ed13b1135.tar.bz2
usb-storage: add bootindex to qom property
Add a qom property with the same name 'bootindex', when we remove it form qdev property, things will continue to work just fine, and we can use qom features which are not supported by qdev property. Because usb-storage rely on scsi-disk which is created in usb_msg_realize_storage(), so we should store the SCSIDevice pointer in MSDState struct. Only in this way, we can change the global boot_order_list when we want to change the bootindex during vm rebooting by calling object_property_set_int(Object(SCSIDevice),). Signed-off-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'coroutine-ucontext.c')
0 files changed, 0 insertions, 0 deletions