Re: [Qemu-devel] [PATCH v2] wdt_i6300esb: fix vmstate versioning

2013-06-21 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v3 2/2] rbd: link and load librbd dynamically

2013-06-21 Thread Anthony Liguori
Sage Weil s...@inktank.com writes: Hi Anthony, Stefan, Paolo, [Resurrecting an old thread, here!] On Wed, 10 Apr 2013 Anthony Liguori wrote: Has any progress been made toward a generic dynamic linking solution for block drivers? It is a conceptually simple change, but non-trivial

Re: [Qemu-devel] [PATCH] Add Xen platform PCI device version 2.

2013-06-20 Thread Anthony Liguori
understand why two devices are required here and the thread doesn't really answer that either. Is there a spec for the Xen platform devices? Take a look at docs/specs for some examples in the tree. It certainly helps to have one for discussions like this. Regards, Anthony Liguori

[Qemu-devel] [PATCH] libqos: include dependencies

2013-06-20 Thread Anthony Liguori
Otherwise rebuilds can fail when libqos is modified. Reported-by: Markus Armbruster arm...@redhat.com Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- tests/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Makefile b/tests/Makefile index 9a3007d..0042cf4 100644

Re: [Qemu-devel] [PATCH 02/12] qtest: add spapr hypercall support

2013-06-20 Thread Anthony Liguori
Andreas Färber afaer...@suse.de writes: Am 19.06.2013 22:40, schrieb Anthony Liguori: Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- qtest.c | 29 + tests/libqtest.c | 18 ++ tests/libqtest.h | 46

Re: [Qemu-devel] [PATCH 07/12] spapr-rtas: add CPU argument to RTAS calls

2013-06-20 Thread Anthony Liguori
Andreas Färber afaer...@suse.de writes: Am 19.06.2013 22:40, schrieb Anthony Liguori: RTAS is a hypervisor provided binary blob that a guest loads and calls into to execute certain functions. It's similar to the vsyscall page in Linux or the short lived VMCI paravirt interface from VMware

Re: [Qemu-devel] [PATCH] RFC kvm irqfd: add directly mapped MSI IRQ support

2013-06-20 Thread Anthony Liguori
); +if (vector-virq 0) { +vector-virq = kvm_irqchip_add_msi_route(kvm_state, msg); +} I don't understand why you're adding a pci level hook verses just having a kvmppc specific hook in the kvm_irqchip_add_msi_route function.. Regards, Anthony Liguori if (vector-virq 0

Re: [Qemu-devel] [PATCH 03/12] qtest: return string from QMP commands

2013-06-20 Thread Anthony Liguori
Andreas Färber afaer...@suse.de writes: Am 19.06.2013 22:40, schrieb Anthony Liguori: Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- tests/libqtest.c | 16 +--- tests/libqtest.h | 14 +++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/tests

Re: [Qemu-devel] [PATCH 02/12] qtest: add spapr hypercall support

2013-06-20 Thread Anthony Liguori
Alexander Graf ag...@suse.de writes: Am 20.06.2013 um 17:42 schrieb Anthony Liguori aligu...@us.ibm.com: Andreas Färber afaer...@suse.de writes: Am 19.06.2013 22:40, schrieb Anthony Liguori: Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- qtest.c | 29

Re: [Qemu-devel] [PULL 00/21] pci,net,misc enhancements

2013-06-20 Thread Anthony Liguori
that tree still exist? Would that be coming from Paolo or Gleb? Can one of ya'll ack these changes please. Regards, Anthony Liguori pvpanic: initialization cleanup pvpanic: fix fwcfg for big endian hosts MAINTAINERS | 2 +- QMP/qmp-events.txt

Re: [Qemu-devel] [PULL 00/21] pci,net,misc enhancements

2013-06-20 Thread Anthony Liguori
Gleb Natapov g...@redhat.com writes: On Thu, Jun 20, 2013 at 02:02:59PM -0500, Anthony Liguori wrote: Michael S. Tsirkin m...@redhat.com writes: From: Michael S. Tsirkin m...@redhat.com The following changes since commit 90a2541b763b31d2b551b07e24aae3de5266d31b: target-i386

Re: [Qemu-devel] [PATCH 1/2] libqtest: Plug fd and memory leaks in qtest_quit()

2013-06-19 Thread Anthony Liguori
Markus Armbruster arm...@redhat.com writes: Signed-off-by: Markus Armbruster arm...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- tests/libqtest.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/libqtest.c b/tests/libqtest.c

Re: [Qemu-devel] [PATCH 1/2] libqtest: Plug fd and memory leaks in qtest_quit()

2013-06-19 Thread Anthony Liguori
Markus Armbruster arm...@redhat.com writes: Signed-off-by: Markus Armbruster arm...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- tests/libqtest.c | 4 1 file changed, 4 insertions(+) diff --git a/tests/libqtest.c b/tests/libqtest.c

Re: [Qemu-devel] [PATCH] vl: convert -smp to qemu_opts_parse()

2013-06-19 Thread Anthony Liguori
Michael Tokarev m...@tls.msk.ru writes: Signed-off-by: Michael Tokarev m...@tls.msk.ru Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- vl.c | 122 +- 1 file changed, 69 insertions(+), 53

[Qemu-devel] [PATCH 00/12] spapr: add qtest support and refactor vty

2013-06-19 Thread Anthony Liguori
Hi, This series introduces qtest support for spapr and adds a test case for spapr-vty. It then significantly refactors spapr-vty fixing among other things a number of guest driven aborts due to improper use of QOM cast macros. A neat trick included in this series is a save_restore() qtest

[Qemu-devel] [PATCH 03/12] qtest: return string from QMP commands

2013-06-19 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- tests/libqtest.c | 16 +--- tests/libqtest.h | 14 +++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/tests/libqtest.c b/tests/libqtest.c index 81107cf..235ec62 100644 --- a/tests/libqtest.c +++ b/tests

[Qemu-devel] [PATCH 01/12] chardev: ringbuf: add optional save parameter to save state

2013-06-19 Thread Anthony Liguori
It is very useful to use the ringbuf chardev for writing test cases and even more useful if the state of the ringbuf is migrated with the guest. Otherwise it's hard to detect data loss in a test case. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- qapi-schema.json | 3 ++- qemu-char.c

[Qemu-devel] [PATCH 08/12] spapr-rtas: use hypercall interface and remove special vty interfaces

2013-06-19 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/char/spapr_vty.c| 36 ++-- hw/ppc/spapr_rtas.c| 18 ++ include/hw/ppc/spapr_vio.h | 2 -- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/hw/char/spapr_vty.c

[Qemu-devel] [PATCH 06/12] spapr-vty: add copyright and license

2013-06-19 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/char/spapr_vty.c | 13 + 1 file changed, 13 insertions(+) diff --git a/hw/char/spapr_vty.c b/hw/char/spapr_vty.c index 2993848..ecc2bb5 100644 --- a/hw/char/spapr_vty.c +++ b/hw/char/spapr_vty.c @@ -1,3 +1,16 @@ +/* + * QEMU

[Qemu-devel] [PATCH 12/12] spapr-vty: remove unfixable FIXME

2013-06-19 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/char/spapr_vty.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hw/char/spapr_vty.c b/hw/char/spapr_vty.c index aa56f10..6834fe2 100644 --- a/hw/char/spapr_vty.c +++ b/hw/char/spapr_vty.c @@ -65,7 +65,13

[Qemu-devel] [PATCH 07/12] spapr-rtas: add CPU argument to RTAS calls

2013-06-19 Thread Anthony Liguori
handling so we can more easily invoke hypercalls just as guest code would. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/nvram/spapr_nvram.c | 4 ++-- hw/ppc/spapr_events.c | 2 +- hw/ppc/spapr_hcall.c | 2 +- hw/ppc/spapr_pci.c | 13 +++-- hw/ppc/spapr_rtas.c| 21

[Qemu-devel] [PATCH 10/12] spapr-vty: refactor the code to improve consistency

2013-06-19 Thread Anthony Liguori
A few small changes folded into one cleanup: - Fail gracefully when passed a reg of the wrong device type - Don't cast uint8_t buf to uint64_t for argument marshalling - Use spapr_vty prefix consistently. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/char/spapr_vty.c | 57

[Qemu-devel] [PATCH 11/12] spapr-vio: pass type to spapr_vio_find_by_reg()

2013-06-19 Thread Anthony Liguori
Today if an invalid hcall is made to an otherwise valid device we abort due to QOM casting. This adds a parameter to find_by_reg() to indicate which type of device we're looking for. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/char/spapr_vty.c| 14 -- hw/net

[Qemu-devel] [PATCH 05/12] spapr-vty: add qtest test case

2013-06-19 Thread Anthony Liguori
Pretty basic for the moment but the interface is pretty simple. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- tests/Makefile | 3 ++ tests/spapr-vty-test.c | 89 ++ 2 files changed, 92 insertions(+) create mode 100644 tests/spapr

[Qemu-devel] [PATCH 02/12] qtest: add spapr hypercall support

2013-06-19 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- qtest.c | 29 + tests/libqtest.c | 18 ++ tests/libqtest.h | 46 ++ 3 files changed, 93 insertions(+) diff --git a/qtest.c b/qtest.c index

[Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Anthony Liguori
about how devices are decoded. This does not produce a change in behavior since reg=0 hcalls to non-VTY devices will still fail as gloriously as they did before just for a different reason (invalid device instead of invalid reg). Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/char

[Qemu-devel] [PATCH 04/12] qtest: add interface to save/restore

2013-06-19 Thread Anthony Liguori
and restoring state. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- tests/libqtest.c | 65 tests/libqtest.h | 46 +++ 2 files changed, 111 insertions(+) diff --git a/tests/libqtest.c b/tests

Re: [Qemu-devel] [PATCH 05/12] spapr-vty: add qtest test case

2013-06-19 Thread Anthony Liguori
Alexander Graf ag...@suse.de writes: On 19.06.2013, at 22:40, Anthony Liguori wrote: Pretty basic for the moment but the interface is pretty simple. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- tests/Makefile | 3 ++ tests/spapr-vty-test.c | 89

Re: [Qemu-devel] [PATCH 08/12] spapr-rtas: use hypercall interface and remove special vty interfaces

2013-06-19 Thread Anthony Liguori
Alexander Graf ag...@suse.de writes: On 19.06.2013, at 22:40, Anthony Liguori wrote: Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/char/spapr_vty.c| 36 ++-- hw/ppc/spapr_rtas.c| 18 ++ include/hw/ppc/spapr_vio.h

Re: [Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Anthony Liguori
Alexander Graf ag...@suse.de writes: On 19.06.2013, at 22:40, Anthony Liguori wrote: The creatively named reg field is a hypervisor assigned global identifier for a virtual device. Despite the fact that no device is assigned a reg of 0, guests still use it to refer to early console

Re: [Qemu-devel] [PATCH 11/12] spapr-vio: pass type to spapr_vio_find_by_reg()

2013-06-19 Thread Anthony Liguori
Alexander Graf ag...@suse.de writes: On 19.06.2013, at 22:40, Anthony Liguori wrote: Today if an invalid hcall is made to an otherwise valid device we abort due to QOM casting. This adds a parameter to find_by_reg() to indicate which type of device we're looking for. This should also

Re: [Qemu-devel] [PATCH 09/12] spapr-vio: move special case handling for reg=0 to vio

2013-06-19 Thread Anthony Liguori
Alexander Graf ag...@suse.de writes: On 19.06.2013, at 23:49, Anthony Liguori wrote: Alexander Graf ag...@suse.de writes: On 19.06.2013, at 22:40, Anthony Liguori wrote: The creatively named reg field is a hypervisor assigned global identifier for a virtual device. Despite the fact

Re: [Qemu-devel] RFC: DSO (dynamic shared objects) support

2013-06-18 Thread Anthony Liguori
, Anthony Liguori o adding more types of modules, for example a new DISPLAY type. Below is a sample implementation of the loading part (without configure checks, just POC). Thanks, /mjt --- a/util/module.c +++ b/util/module.c @@ -17,6 +17,62 @@ #include qemu/queue.h #include

Re: [Qemu-devel] [PATCH v3 08/16] boot-order-test: New; covering just PC for now

2013-06-18 Thread Anthony Liguori
Markus Armbruster arm...@redhat.com writes: Anthony Liguori aligu...@us.ibm.com writes: Markus Armbruster arm...@redhat.com writes: Signed-off-by: Markus Armbruster arm...@redhat.com --- tests/Makefile | 2 ++ tests/boot-order-test.c | 68

Re: [Qemu-devel] [PATCH v2] wdt_i6300esb: fix vmstate versioning

2013-06-18 Thread Anthony Liguori
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com Ping, looking to pull this in for 1.5.1 Anthony, Juan? Not sure if this is on your radar. Looking to get it applied prior to stable freeze tomorrow. I'll pick it up. Regards, Anthony Liguori --- v2: * Fixed s/except/accept/ typo

Re: [Qemu-devel] [RfC PATCH 1/2] display update with notification

2013-06-17 Thread Anthony Liguori
Little more context please. Regards, Anthony Liguori Gerd Hoffmann kra...@redhat.com writes: Signed-off-by: Gerd Hoffmann kra...@redhat.com --- include/ui/console.h |2 ++ ui/console.c | 15 +++ 2 files changed, 17 insertions(+) diff --git a/include/ui

Re: [Qemu-devel] [RfC PATCH 2/2] console: add screendump-device qmp cmd

2013-06-17 Thread Anthony Liguori
(including whether they are cancelable), canceling cancelable jobs, and then a single event notifying completion of jobs, would solve a lot of problems in the current interface. Regards, Anthony Liguori +static void qmp_screendump_bh(void *opaque) +{ +Error *local_err; +struct

Re: [Qemu-devel] [PATCH trivial] vl: always define no_frame

2013-06-17 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] ide-test: fix failure for test_flush

2013-06-17 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] gtk: Fix compiler warning (GTK 3 deprecated function)

2013-06-17 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 1/2] audio/intel-hda: Fix Inheritance hierachy

2013-06-17 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 0/6] Some -smbios work

2013-06-17 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/7] Block patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/4] Fix ppc64 tcg issues

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/3] QMP queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/7] usb patch queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] tcg: Remove redundant tcg_target_init checks

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/10] Block patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/7] qemu-ga: local state directory fixes for win32

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] chardev: fix info chardev output

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/26] Block patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/9] SCSI updates for 2013-04-13

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] chardev: fix info chardev output

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/9] QMP queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/11] Block patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] Net patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/9] pci: misc cleanups

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/26] Trivial-patches pull request for 2013-06-14

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

[Qemu-devel] Sorry for the delayed thanks, applied on PULL requests

2013-06-17 Thread Anthony Liguori
it was important to get these on the list even though they are old. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/24] arm-devs queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/17] QOM CPUState patch queue 2013-06-12

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] virtio-ccw/css: bugfixes

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/12] QMP queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/15] IOMMU patches for 1.6, part 1

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/10] configury queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL trivial/urgent 0/2] trivial-patches out-of-order pull request for 2013-06-17

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/22] Memory/IOMMU patches, part 2: unassigned access detection

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/1] target-arm queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] Net patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] update seabios to release 1.7.2.2

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/13] tcg-aarch64 queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/4] Cocoa patch queue 2013-05-29

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 3/7] arch_init: add ram_madvise_free()

2013-06-16 Thread Anthony Liguori
); +void ram_madvise_free(ram_addr_t size); + If you introduce new interfaces, please include documentation in the header. Regards, Anthony Liguori extern SaveVMHandlers savevm_ram_handlers; uint64_t dup_mig_bytes_transferred(void); -- 1.7.7.6

Re: [Qemu-devel] [PATCH 4/7] migration-local: implementation of outgoing part

2013-06-16 Thread Anthony Liguori
'} } I suspect we should just do this as a flag to the existing migration command. Perhaps we could even just use a capability. Regards, Anthony Liguori + +## # @MouseInfo: # # Information about a mouse device. diff --git a/qmp-commands.hx b/qmp-commands.hx index 8cea5e5..bf6d042 100644

Re: [Qemu-devel] [PATCH 0/7 RFC] Localhost live migration

2013-06-16 Thread Anthony Liguori
problem. It would also be handy to flip large pages when THP is active but that's future work. Regards, Anthony Liguori | V Migration completes As stopping VM first, we expect/resume the page flipping through vmspice is fast enough to meet *live

Re: [Qemu-devel] [PATCH 2/7] savevm: export qemu_save_device_state()

2013-06-16 Thread Anthony Liguori
); +int qemu_save_device_state(QEMUFile *f); int qemu_loadvm_state(QEMUFile *f); Please add comments describing what this function does. I know they're absent for the rest of the functions but we have to start somewhere. Regards, Anthony Liguori /* SLIRP */ diff --git a/savevm.c b/savevm.c

Re: [Qemu-devel] [PATCH 1/7] migration: export MIG_STATE_xxx flags

2013-06-16 Thread Anthony Liguori
, +MIG_STATE_ACTIVE, +MIG_STATE_COMPLETED, +}; + If these flags are being exported, it would be nice to provide comments describing what each state corresponded to. Regards, Anthony Liguori struct MigrationParams { bool blk; bool shared; diff --git a/migration.c b/migration.c index

Re: [Qemu-devel] [PATCH v3 02/16] qemu-option: check_params() is now unused, drop it

2013-06-14 Thread Anthony Liguori
Markus Armbruster arm...@redhat.com writes: Signed-off-by: Markus Armbruster arm...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- include/qemu/option.h | 2 -- util/qemu-option.c| 30 -- 2 files changed, 32

Re: [Qemu-devel] [PATCH v3 04/16] vl: Rename *boot_devices to *boot_order, for consistency

2013-06-14 Thread Anthony Liguori
Markus Armbruster arm...@redhat.com writes: Signed-off-by: Markus Armbruster arm...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- include/hw/hw.h | 4 ++-- vl.c| 16 2 files changed, 10 insertions(+), 10 deletions

Re: [Qemu-devel] [PATCH v3 03/16] vl: Fix -boot order and once regressions, and related bugs

2013-06-14 Thread Anthony Liguori
option parsing is complete, and the machine is known. This is how the other -boot options work already. Signed-off-by: Markus Armbruster arm...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- vl.c | 59

Re: [Qemu-devel] [PATCH v3 01/16] vl: Clean up parsing of -boot option argument

2013-06-14 Thread Anthony Liguori
-legacy syntax got simply ignored. Signed-off-by: Markus Armbruster arm...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- vl.c | 84 ++-- 1 file changed, 22 insertions(+), 62

Re: [Qemu-devel] [PATCH v3 05/16] pc: Make -no-fd-bootchk stick across boot order changes

2013-06-14 Thread Anthony Liguori
. Make it stick instead: set the bit according to -no-fd-bootchk in pc_boot_set(). Signed-off-by: Markus Armbruster arm...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/i386/pc.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

Re: [Qemu-devel] [PATCH v3 06/16] doc: Drop ref to Bochs from -no-fd-bootchk documentation

2013-06-14 Thread Anthony Liguori
-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- qemu-options.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index bf94862..8355f9b 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1268,9 +1268,8 @@ DEF

Re: [Qemu-devel] [PATCH v3 07/16] qtest: Don't reset on qtest chardev connect

2013-06-14 Thread Anthony Liguori
tests such as the one of -boot once I'm about to add. Drop it. Signed-off-by: Markus Armbruster arm...@redhat.com We could always add a reset qtest command. Probably makes more sense really. Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- qtest.c | 7

Re: [Qemu-devel] [PATCH v3 08/16] boot-order-test: New; covering just PC for now

2013-06-14 Thread Anthony Liguori
that the device model has been reset. Regards, Anthony Liguori +test_pc_cmos(reboot1, reboot2); +qtest_quit(global_qtest); +g_free(args); +} + +static void test_pc_boot_order(void) +{ +test_pc_with_args(, 0x30, 0x12, 0x30, 0x12); +test_pc_with_args(-no-fd-bootchk, 0x31

Re: [Qemu-devel] [PATCH v3 09/16] boot-order-test: Add tests for PowerMacs

2013-06-14 Thread Anthony Liguori
= powermac_fw_cfg_read16(newworld, FW_CFG_BOOT_DEVICE); +g_assert_cmphex(actual, ==, expected_boot); +qmp({ 'execute': 'system_reset' }); Same concern here but otherwise looks good. Regards, Anthony Liguori +actual = powermac_fw_cfg_read16(newworld, FW_CFG_BOOT_DEVICE); +g_assert_cmphex(actual

Re: [Qemu-devel] [PATCH v3 10/16] boot-order-test: Cover -boot once in ppc tests

2013-06-14 Thread Anthony Liguori
Markus Armbruster arm...@redhat.com writes: Cc: Andreas Färber afaer...@suse.de Cc: Alexander Graf ag...@suse.de Cc: qemu-...@nongnu.org Signed-off-by: Markus Armbruster arm...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- tests/boot-order

Re: [Qemu-devel] [PATCH v3 11/16] boot-order-test: Better separate target-specific and generic parts

2013-06-14 Thread Anthony Liguori
(port + 1); } It's worth looking at the rtc-test case and pulling out cmos_read/write() into libqos I suspect. Regards, Anthony Liguori -static void test_pc_cmos(uint8_t boot1, uint8_t boot2) +static uint64_t read_boot_order_pc(void) { -test_pc_cmos_byte(0x38, boot1

Re: [Qemu-devel] [PATCH v3 15/16] boot-order-test: Support fw_cfg in I/O space

2013-06-14 Thread Anthony Liguori
(uint64_t cfg_addr, uint16_t cmd, +static void read_fw_cfg(uint64_t cfg_addr, bool addr_is_io, uint16_t cmd, void *buf, size_t len) I missed it earlier, but you can use libqos/fw_cfg.h for this. Regards, Anthony Liguori { uint8_t *p = buf; size_t i

Re: [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage

2013-06-14 Thread Anthony Liguori
that must persist through a reboot or migration. A sample command line may look like this: This should be folded into the libtpms backend series. There are no users for this so this would just be untestable code in the tree subject to bitrot. Regards, Anthony Liguori qemu-system-x86_64

Re: [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage

2013-06-14 Thread Anthony Liguori
Corey Bryant cor...@linux.vnet.ibm.com writes: On 06/14/2013 10:01 AM, Anthony Liguori wrote: Corey Bryant cor...@linux.vnet.ibm.com writes: This patch series provides persistent storage support that a TPM can use to store NVRAM data. It uses QEMU's block driver to store data on a drive

Re: [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage

2013-06-14 Thread Anthony Liguori
Corey Bryant cor...@linux.vnet.ibm.com writes: On 06/14/2013 11:38 AM, Anthony Liguori wrote: Corey Bryant cor...@linux.vnet.ibm.com writes: On 06/14/2013 10:01 AM, Anthony Liguori wrote: Corey Bryant cor...@linux.vnet.ibm.com writes: This patch series provides persistent storage support

Re: [Qemu-devel] [PULL 21/26] ide-test: Add FLUSH CACHE test case

2013-06-14 Thread Anthony Liguori
it's already in the block tree, I'll push it directly as it's blocking my queue. Unless Kevin or Stefan are planning on sending a pull request today of course. Regards, Anthony Liguori thanks -- PMM

Re: [Qemu-devel] [PATCH] make screendump an async command

2013-06-14 Thread Anthony Liguori
to do a synchronous screendump? Regards, Anthony Liguori --- hmp.c | 2 +- hw/display/qxl-render.c | 1 + hw/display/vga.c | 1 + include/qapi/qmp/qerror.h | 6 + include/ui/console.h | 10 qapi-schema.json | 13 --- qmp

Re: [Qemu-devel] [PATCH v3 0/3] TPM NVRAM persistent storage

2013-06-14 Thread Anthony Liguori
Corey Bryant cor...@linux.vnet.ibm.com writes: On 06/14/2013 11:56 AM, Anthony Liguori wrote: Corey Bryant cor...@linux.vnet.ibm.com writes: On 06/14/2013 11:38 AM, Anthony Liguori wrote: Corey Bryant cor...@linux.vnet.ibm.com writes: On 06/14/2013 10:01 AM, Anthony Liguori wrote: Corey

Re: [Qemu-devel] [RFC] sanitize memory on system reset

2013-06-13 Thread Anthony Liguori
to survive is a good idea, but it has been done. Doesn't kexec do a warm reboot stashing the new kernel somewhere in memory? Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 1/2] ps2: add support of auto-repeat

2013-06-13 Thread Anthony Liguori
migration and spice. Even with a non-seamless VNC reconnect, if it happens behind the scenes the release would still be sent. Regards, Anthony Liguori Paolo

Re: [Qemu-devel] [PATCH v2 1/2] ps2: add support of auto-repeat

2013-06-13 Thread Anthony Liguori
Amos Kong ak...@redhat.com writes: On Fri, May 31, 2013 at 08:31:17PM +0800, Amos Kong wrote: On Thu, May 30, 2013 at 11:48:46AM -0500, Anthony Liguori wrote: Amos Kong ak...@redhat.com writes: Guest driver sets repeat rate and delay time by KBD_CMD_SET_RATE, but ps2 backend doesn't

Re: [Qemu-devel] [Qemu-ppc] [PATCH] target-ppc: Change default machine for 64-bit

2013-06-13 Thread Anthony Liguori
getting rid of it first before making pseries the default. I still think spapr would be a better name than pseries FWIW since that's what it's referred to in the code. Regards, Anthony Liguori Given the current state and amount of development on the pseries target, I think it makes sense

Re: [Qemu-devel] [PATCH v2 1/2] ps2: add support of auto-repeat

2013-06-13 Thread Anthony Liguori
Paolo Bonzini pbonz...@redhat.com writes: Il 13/06/2013 09:01, Anthony Liguori ha scritto: Paolo Bonzini pbonz...@redhat.com writes: Il 13/06/2013 06:19, Andreas Färber ha scritto: Am 31.05.2013 14:31, schrieb Amos Kong: diff --git a/hw/input/ps2.c b/hw/input/ps2.c index cdb18e6..fdb9912

<    1   2   3   4   5   6   7   8   9   10   >