[Qemu-devel] [PATCH 2/2] bootdevice: update boot_order in MachineState

2015-01-26 Thread dvaleev
From: Dinar Valeev on sPAPR we need to update boot_order in MachineState in case it got changed on reset. Signed-off-by: Dinar Valeev --- bootdevice.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootdevice.c b/bootdevice.c index 5914417..4f11a06 100644 --- a/bootdevice.c +++ b/bootd

[Qemu-devel] [PATCH 1/2] sPAPR: reread boot_device on reset

2015-01-26 Thread dvaleev
From: Dinar Valeev Update boot_device on reset. This is required to have -boot once=X working. This patch is moving creating fdt qemu,boot-device entry from spapr_create_fdt_skel to spapr_finalize_fdt which is used on guest reset. Signed-off-by: Dinar Valeev --- hw/ppc/spapr.c | 18 ++

[Qemu-devel] Update boot_order on reset for sPAPR

2015-01-26 Thread dvaleev
This is cleaner attempt to fix -boot once=X behaviour on sPAPR qemu-system-ppc64 -m 1024 -enable-kvm -boot once=d -vga none -nographic Ready! 0 > dev /chosen ok 0 > .properties stdout 3e512100 ibm,architecture-vec-5 0080 qemu,boot-device

[Qemu-devel] [PATCH 2/2] hw/ppc/spapr Add qemu_register_boot_set for SPAPR

2015-01-23 Thread dvaleev
From: Dinar Valeev In order to have -boot once=d functioning, it is required to have qemu_register_boot_set qemu-system-ppc64 -enable-kvm -boot once=d Ready! 0 > dev /chosen ok 0 > .properties ... qemu,boot-device d ... 0 > reset-all Ready! 0 > dev /chosen ok 0 > .propertie

[Qemu-devel] [PATCH 1/2] hw/ppc/spapr.c Set default boot order

2015-01-23 Thread dvaleev
From: Dinar Valeev In order to use -boot once=X option we need to have default list where restore to on reset. Signed-off-by: Dinar Valeev --- hw/ppc/spapr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index b560459..3d2cfa3 100644 --- a

[Qemu-devel] [PATCH] hw/input/hid.c Fix capslock hid code

2015-01-21 Thread dvaleev
From: Dinar Valeev When ever USB keyboard is used, e.g. '-usbdevice keyboard' pressing caps lock key send 0x32 hid code, which is treated as backslash. Instead it should be 0x39 code. This affects sending uppercase keys, as they typed whith caps lock active. While on x86 this can be workarounded