Re: [Qemu-devel] [PATCH 02/11] vl: Avoid qerror_report() outside QMP command handlers

2015-06-13 Thread Eric Blake
On 06/13/2015 08:20 AM, Markus Armbruster wrote: > qerror_report() is a transitional interface to help with converting > existing monitor commands to QMP. It should not be used elsewhere. > Replace by error_report() in initial startup helpers parse_sandbox() > and parse_add_fd(). > > Signed-off-b

Re: [Qemu-devel] [PATCH 01/11] QemuOpts: Wean off qerror_report_err()

2015-06-13 Thread Eric Blake
On 06/13/2015 08:20 AM, Markus Armbruster wrote: > qerror_report_err() is a transitional interface to help with > converting existing monitor commands to QMP. It should not be used > elsewhere. > > The only remaining user in qemu-option.c is qemu_opts_parse(). Is it > used in QMP context? If no

Re: [Qemu-devel] [PATCH 13/16] qapi-types: Don't filter out expressions with 'gen'

2015-06-13 Thread Eric Blake
On 06/12/2015 08:51 AM, Markus Armbruster wrote: > Useless, because it can only occur in commands, and we're not dealing > with commands here. > > Signed-off-by: Markus Armbruster > --- > scripts/qapi-types.py | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Eric Blake -- Eric Blake ebl

Re: [Qemu-devel] [PATCH 16/16] qapi-types: Bury code dead since commit 6b5abc7

2015-06-13 Thread Eric Blake
On 06/12/2015 08:51 AM, Markus Armbruster wrote: > Signed-off-by: Markus Armbruster > --- > scripts/qapi-types.py | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http

Re: [Qemu-devel] [PATCH 15/16] qapi-types: Split generate_fwd_builtin() off generate_fwd_struct()

2015-06-13 Thread Eric Blake
On 06/12/2015 08:51 AM, Markus Armbruster wrote: > Signed-off-by: Markus Armbruster > --- > scripts/qapi-types.py | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library

Re: [Qemu-devel] [PATCH 14/16] qapi-types: Drop unused members parameters

2015-06-13 Thread Eric Blake
On 06/12/2015 08:51 AM, Markus Armbruster wrote: > Signed-off-by: Markus Armbruster > --- > scripts/qapi-types.py | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization libra

Re: [Qemu-devel] [PATCH 12/16] qapi: Catch and reject flat union branch of array type

2015-06-13 Thread Eric Blake
On 06/12/2015 08:51 AM, Markus Armbruster wrote: > Signed-off-by: Markus Armbruster > --- > scripts/qapi.py | 2 +- > tests/qapi-schema/flat-union-array-branch.err | 11 +-- > 2 files changed, 2 insertions(+), 11 deletions(-) > Reviewed-by: Eric Blake --

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors)

2015-06-13 Thread Peter Crosthwaite
On Sat, Jun 13, 2015 at 5:56 PM, Liviu Ionescu wrote: > >> On 14 Jun 2015, at 01:46, Peter Crosthwaite >> wrote: >> >>> not to mention that in real life situations, constructors are used to pass >>> non-static data, for example the 'machine' structure (for various command >>> line params) when

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors)

2015-06-13 Thread Liviu Ionescu
> On 14 Jun 2015, at 01:46, Peter Crosthwaite > wrote: > >> not to mention that in real life situations, constructors are used to pass >> non-static data, for example the 'machine' structure (for various command >> line params) when constructing MCUs, or the 'mcu' when constructing LEDs. >>

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object

2015-06-13 Thread Peter Crosthwaite
On Sat, Jun 13, 2015 at 11:57 AM, Liviu Ionescu wrote: > >> On 13 Jun 2015, at 21:29, Peter Crosthwaite >> wrote: >> >> >> ... As all the information >> you need to construct the object is constant per-concrete class, the >> information can be added to the class to resolve. > > the one-instance-

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors)

2015-06-13 Thread Peter Crosthwaite
On Sat, Jun 13, 2015 at 12:52 PM, Liviu Ionescu wrote: > >> On 13 Jun 2015, at 21:57, Liviu Ionescu wrote: >> >> ... so, no, the class structure is not suitable for multi-instances objects, >> and even for singletons I think that using it for passing such configuration >> data is generally abus

Re: [Qemu-devel] [PATCH 1/1] balloon: add a feature bit to let Guest OS deflate balloon on oom

2015-06-13 Thread Michael S. Tsirkin
On Fri, Jun 12, 2015 at 01:56:37PM +0200, Christian Borntraeger wrote: > Am 10.06.2015 um 15:13 schrieb Michael S. Tsirkin: > > On Wed, Jun 10, 2015 at 03:02:21PM +0300, Denis V. Lunev wrote: > >> On 09/06/15 13:37, Christian Borntraeger wrote: > >>> Am 09.06.2015 um 12:19 schrieb Denis V. Lunev: >

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors)

2015-06-13 Thread Liviu Ionescu
> On 13 Jun 2015, at 21:57, Liviu Ionescu wrote: > > ... so, no, the class structure is not suitable for multi-instances objects, > and even for singletons I think that using it for passing such configuration > data is generally abusive. not to mention that in real life situations, constructo

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object

2015-06-13 Thread Liviu Ionescu
> On 13 Jun 2015, at 21:29, Peter Crosthwaite > wrote: > > > ... As all the information > you need to construct the object is constant per-concrete class, the > information can be added to the class to resolve. the one-instance-per-class might be true for MCUs, but generally it isn't, for ex

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object

2015-06-13 Thread Peter Crosthwaite
On Sat, Jun 13, 2015 at 4:41 AM, Liviu Ionescu wrote: > >> On 13 Jun 2015, at 12:29, Peter Crosthwaite >> wrote: >> >>> >>> STM32F103RB* mcu = new STM32F103RB(&stm32f103rb_capabilities); >>> >> >> Is the capabilities genuinely variable from instance to instance? > > good point. > > my example wa

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object (-> add constructors)

2015-06-13 Thread Liviu Ionescu
> On 13 Jun 2015, at 14:41, Liviu Ionescu wrote: > > ... so I invented another solution: > > - do not define any of the instance_init() and instance_post_init() > - add custom construct(...) callbacks to all my classes > - make each instance call parent construct(...) at the beginning, as for

Re: [Qemu-devel] [PATCH 11/16] tests/qapi-schema: New flat union array branch test case

2015-06-13 Thread Eric Blake
On 06/12/2015 08:51 AM, Markus Armbruster wrote: > The new test demonstrates another generator crash. What, I missed one? > > Signed-off-by: Markus Armbruster > --- > tests/Makefile | 3 ++- > tests/qapi-schema/flat-union-array-branch.err | 10 ++ > te

Re: [Qemu-devel] virtio-pci msix error

2015-06-13 Thread Mark Cave-Ayland
On 20/05/15 13:10, Peter Maydell wrote: > On 20 May 2015 at 12:55, Fam Zheng wrote: >> On Wed, 05/20 11:41, Peter Maydell wrote: >>> On 20 May 2015 at 10:58, Michael S. Tsirkin wrote: On Tue, May 19, 2015 at 09:11:26PM +0100, Peter Maydell wrote: > On 19 May 2015 at 20:16, Michael S. Ts

Re: [Qemu-devel] openbios.git mirror on git.qemu.org

2015-06-13 Thread Mark Cave-Ayland
On 13/06/15 08:53, Aurelien Jarno wrote: >> As it's freeze coming up, I need to send an OpenBIOS pull request fairly >> soon. Do you need anything from me to get this done beforehand? > > For what I can see on the server, I confirm that the openbios.git > repository on git.qemu.org is point to a

[Qemu-devel] [PATCH 10/11] Include qapi/qmp/qerror.h exactly where needed

2015-06-13 Thread Markus Armbruster
In particular, don't include it into headers. Signed-off-by: Markus Armbruster --- backends/hostmem.c | 1 - balloon.c| 1 + block.c | 1 + block/backup.c | 1 + block/commit.c | 1 + block/mirror.c | 1

[Qemu-devel] [PATCH 05/11] qerror: Clean up QERR_ macros to expand into a single string

2015-06-13 Thread Markus Armbruster
These macros expand into error class enumeration constant, comma, string. Unclean. Has been that way since commit 13f59ae. The error class is always ERROR_CLASS_GENERIC_ERROR since the previous commit. Clean up as follows: * Prepend every use of a QERR_ macro by ERROR_CLASS_GENERIC_ERROR, and

[Qemu-devel] [PATCH 07/11] qmp: Wean off qerror_report()

2015-06-13 Thread Markus Armbruster
The traditional QMP command handler interface int qmp_FOO(Monitor *mon, const QDict *params, QObject **ret_data); doesn't provide for returning an Error object. Instead, the handler is expected to stash it in the monitor with qerror_report(). When we rebased QMP on top of QAPI, we didn't ch

[Qemu-devel] [PATCH 09/11] qerror: Move #include out of qerror.h

2015-06-13 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- audio/spiceaudio.c | 1 + audio/wavcapture.c | 1 + block.c | 1 + block/curl.c| 1 + block/dmg.c | 1 + block/io.c | 1 + block/iscsi.c | 1 + block/qcow2-sna

[Qemu-devel] [PATCH 11/11] Include monitor/monitor.h exactly where needed

2015-06-13 Thread Markus Armbruster
In particular, don't include it into headers. Signed-off-by: Markus Armbruster --- balloon.c | 2 +- blockdev-nbd.c| 1 - hw/core/platform-bus.c| 1 - hw/display/qxl.c | 1 - hw/i386/pc.c | 1 - hw/ide/ahci.c

[Qemu-devel] [PATCH 08/11] qerror: Finally unused, clean up

2015-06-13 Thread Markus Armbruster
Remove it except for two things in qerror.h: * Two #include to be cleaned up separately to avoid cluttering this patch. * The QERR_ macros. Mark as obsolete. Signed-off-by: Markus Armbruster --- block/qapi.c | 6 -- include/monitor/monitor.h | 1 - include/qapi/qmp/qerror

[Qemu-devel] [PATCH 01/11] QemuOpts: Wean off qerror_report_err()

2015-06-13 Thread Markus Armbruster
qerror_report_err() is a transitional interface to help with converting existing monitor commands to QMP. It should not be used elsewhere. The only remaining user in qemu-option.c is qemu_opts_parse(). Is it used in QMP context? If not, we can simply replace qerror_report_err() by error_report_

[Qemu-devel] [PATCH 00/11] Sprint to the finish: purge QError

2015-06-13 Thread Markus Armbruster
After a bit over a year and many patches, QError is finally ripe. All that's left of qerror.h after this series is a bunch of QERR_ macros. Killing them is left for another day. The diffstat looks a bit scary, but that's almost entirely due to mechanical changes like PATCH 05. This series applie

[Qemu-devel] [PATCH 04/11] qerror: Eliminate QERR_DEVICE_NOT_FOUND

2015-06-13 Thread Markus Armbruster
Error classes other than ERROR_CLASS_GENERIC_ERROR should not be used in new code. Hiding them in QERR_ macros makes new uses hard to spot. Fortunately, there's just one such macro left. Eliminate it with this coccinelle semantic patch: @@ expression EP, E; @@ -error_set(EP, QERR

[Qemu-devel] [PATCH 06/11] tpm: Avoid qerror_report() outside QMP command handlers

2015-06-13 Thread Markus Armbruster
qerror_report() is a transitional interface to help with converting existing monitor commands to QMP. It should not be used elsewhere. Replace by error_report(). Signed-off-by: Markus Armbruster --- tpm.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tpm.c b/tpm

[Qemu-devel] [PATCH 03/11] vl: Use error_report() for --display errors

2015-06-13 Thread Markus Armbruster
Results in nicer error messages. Before this patch: Invalid GTK option string: gtk,lirum-larum After: qemu-system-x86_64: -display gtk,lirum-larum: Invalid GTK option string Of course, the thing ought to use QemuOpts instead of parsing by hand. Signed-off-by: Markus Armbruster --- v

[Qemu-devel] [PATCH 02/11] vl: Avoid qerror_report() outside QMP command handlers

2015-06-13 Thread Markus Armbruster
qerror_report() is a transitional interface to help with converting existing monitor commands to QMP. It should not be used elsewhere. Replace by error_report() in initial startup helpers parse_sandbox() and parse_add_fd(). Signed-off-by: Markus Armbruster --- vl.c | 23 +--

[Qemu-devel] [PATCH v4 4/4] hw/pci-bridge: format SeaBIOS-compliant OFW device node for PXB

2015-06-13 Thread Laszlo Ersek
SeaBIOS expects OpenFirmware device paths in the "bootorder" fw_cfg file to follow the pattern /pci-root@N/pci@i0cf8/... for devices that live behind an extra root bus. The extra root bus in question is the N'th among the extra root bridges. (In other words, N gives the position of the affected

[Qemu-devel] [PATCH v4 2/4] hw/core: rebase sysbus_get_fw_dev_path() to g_strdup_printf()

2015-06-13 Thread Laszlo Ersek
Cc: Markus Armbruster Cc: Marcel Apfelbaum Cc: Michael S. Tsirkin Signed-off-by: Laszlo Ersek --- Notes: v4: - unchanged v3: - new in v3 hw/core/sysbus.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/hw/core/sysbus.c b/hw/core/sysb

[Qemu-devel] [PATCH v4 3/4] hw/core: explicit OFW unit address callback for SysBusDeviceClass

2015-06-13 Thread Laszlo Ersek
The sysbus_get_fw_dev_path() function formats OpenFirmware device path nodes ("driver-name@unit-address") for sysbus devices. The first choice for "unit-address" is the base address of the device's first MMIO region. The second choice is its first IO port. However, if two sysbus devices with the s

[Qemu-devel] [PATCH v4 1/4] hw/pci-bridge: create interrupt-less, hotplug-less bridge for PXB

2015-06-13 Thread Laszlo Ersek
OVMF downloads the ACPI linker/loader script from QEMU when the edk2 PCI Bus driver globally signals the firmware that PCI enumeration and resource allocation have completed. At this point QEMU regenerates the ACPI payload in an fw_cfg read callback, and this is when the PXB's _CRS gets populated.

[Qemu-devel] [PATCH v4 0/4] PXB changes

2015-06-13 Thread Laszlo Ersek
Patches 1 and 2 are carried forward from the last (v3) posting without any changes. Patch 1 is now formatted non-differentially (ie. without copy detection). Patches 3 and 4 are new. Thanks Laszlo Cc: Marcel Apfelbaum Cc: Michael S. Tsirkin Cc: Markus Armbruster Cc: Kevin O'Connor Laszlo Er

[Qemu-devel] PXB changes for QEMU, and extra root buses for OVMF, round 2

2015-06-13 Thread Laszlo Ersek
Following up on this cross-posted message, I will send two patch sets, one for QEMU (to qemu-devel) and another for OVMF (to edk2-devel). With both in place, OVMF supports multiple PCI root buses, and SeaBIOS recognizes boot options that reference devices behind PXBs. * Background. Since the last

[Qemu-devel] [PATCH 10/10 v12] target-tilegx: Add TILE-Gx building files

2015-06-13 Thread Chen Gang
Add related configuration, make files for tilegx. Now, qemu tilegx can pass building, and finish running "Hello world" static/shared elf64 binary. Signed-off-by: Chen Gang --- configure | 2 ++ default-configs/tilegx-linux-user.mak | 1 + target-tilegx/Makefile.objs

[Qemu-devel] [PATCH 09/10 v12] target-tilegx: Generate tcg instructions to finish "Hello world"

2015-06-13 Thread Chen Gang
Generate related tcg instructions, and qemu tilegx can finish running "Hello world". The elf64 binary can be static or shared. Signed-off-by: Chen Gang --- target-tilegx/translate.c | 2966 + 1 file changed, 2966 insertions(+) create mode 100644 targe

[Qemu-devel] [PATCH 08/10 v12] target-tilegx: Add several helpers for instructions translation

2015-06-13 Thread Chen Gang
The related instructions are exception, cntlz, cnttz, shufflebytes, and add_saturate. Signed-off-by: Chen Gang --- target-tilegx/helper.c | 83 ++ target-tilegx/helper.h | 5 +++ 2 files changed, 88 insertions(+) create mode 100644 target-tilegx/

[Qemu-devel] [PATCH 06/10 v12] target-tilegx: Add special register information from Tilera Corporation

2015-06-13 Thread Chen Gang
The related copy is from Linux kernel "arch/tile/include/uapi/arch/ spr_def_64.h". Signed-off-by: Chen Gang --- target-tilegx/spr_def_64.h | 216 + 1 file changed, 216 insertions(+) create mode 100644 target-tilegx/spr_def_64.h diff --git a/target-ti

[Qemu-devel] [PATCH 07/10 v12] target-tilegx: Add cpu basic features for linux-user

2015-06-13 Thread Chen Gang
It implements minimized cpu features for linux-user. Signed-off-by: Chen Gang --- target-tilegx/cpu.c | 143 ++ target-tilegx/cpu.h | 175 2 files changed, 318 insertions(+) create mode 100644 target-ti

[Qemu-devel] [PATCH 05/10 v12] target-tilegx/opcode_tilegx.h: Modify it to fit QEMU usage

2015-06-13 Thread Chen Gang
Use 'inline' instead of '__inline', and also use 'uint64_t' instead of "unsigned long long" Signed-off-by: Chen Gang --- target-tilegx/opcode_tilegx.h | 220 +- 1 file changed, 110 insertions(+), 110 deletions(-) diff --git a/target-tilegx/opcode_tilegx.h

[Qemu-devel] [PATCH 04/10 v12] target-tilegx: Add opcode basic implementation from Tilera Corporation

2015-06-13 Thread Chen Gang
It is copied from Linux kernel "arch/tile/include/uapi/arch/ opcode_tilegx.h". Signed-off-by: Chen Gang --- target-tilegx/opcode_tilegx.h | 1406 + 1 file changed, 1406 insertions(+) create mode 100644 target-tilegx/opcode_tilegx.h diff --git a/target-ti

[Qemu-devel] [PATCH 03/10 v12] linux-user/syscall.c: conditionally define syscalls which are not defined in tilegx

2015-06-13 Thread Chen Gang
Some of architectures (e.g. tilegx), several syscall macros are not supported, so switch them. Signed-off-by: Chen Gang --- linux-user/syscall.c | 50 +- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-use

[Qemu-devel] [PATCH 02/10 v12] linux-user: Support tilegx architecture in linux-user

2015-06-13 Thread Chen Gang
Add main working flow feature, system call processing feature, and elf64 tilegx binary loading feature, based on Linux kernel tilegx 64-bit implementation. Signed-off-by: Chen Gang --- include/elf.h | 2 + linux-user/elfload.c | 23 linux-user/main.c | 295 ++

[Qemu-devel] [PATCH 01/10 v12] linux-user: tilegx: Firstly add architecture related features

2015-06-13 Thread Chen Gang
They are based on Linux kernel tilegx architecture for 64 bit binary, and also based on tilegx ABI reference document, and also reference from other targets implementations. Signed-off-by: Chen Gang --- linux-user/tilegx/syscall.h| 40 + linux-user/tilegx/syscall_nr.h | 324

[Qemu-devel] [PATCH 00/10 v12] tilegx: Firstly add tilegx target for linux-user

2015-06-13 Thread Chen Gang
It can finish running "Hello world" elf64 binary, and the related test cases: - with "--enable-debug", enable assertion with "-g": ./tilegx-linux-user/qemu-tilegx -L /upstream/release-tile /upstream/release-tile/test/test_shared ./tilegx-linux-user/qemu-tilegx -d all -L /upstream/relea

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object

2015-06-13 Thread Liviu Ionescu
> On 13 Jun 2015, at 12:29, Peter Crosthwaite > wrote: > >> >> STM32F103RB* mcu = new STM32F103RB(&stm32f103rb_capabilities); >> > > Is the capabilities genuinely variable from instance to instance? good point. my example was not very accurate, the capabilities are indeed specific to a c

[Qemu-devel] [PATCH v2 6/7] qdev-monitor: Propagate errors through set_property()

2015-06-13 Thread Markus Armbruster
Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- qdev-monitor.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qdev-monitor.c b/qdev-monitor.c index b5b9a88..e7e9a50 100644 --- a/qdev-monitor.c +++ b/qdev-monitor.c @@ -156,8 +156,7 @@ static int set_propert

[Qemu-devel] [PATCH v2 1/7] qdev: Deprecated qdev_init() is finally unused, drop

2015-06-13 Thread Markus Armbruster
Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- hw/core/qdev.c | 47 --- include/hw/qdev-core.h | 3 +-- 2 files changed, 17 insertions(+), 33 deletions(-) diff --git a/hw/core/qdev.c b/hw/core/qdev.c index b0f0f84..d433675 10064

[Qemu-devel] [PATCH v2 5/7] qdev-monitor: Convert qbus_find() to Error

2015-06-13 Thread Markus Armbruster
As usual, the conversion breaks printing explanatory messages after the error: actual printing of the error gets delayed, so the explanations precede rather than follow it. Pity. Disable them for now. See also commit 7216ae3. While there, eliminate QERR_BUS_NOT_FOUND, and clean up unusual spell

[Qemu-devel] [PATCH v2 7/7] qdev-monitor: Propagate errors through qdev_device_add()

2015-06-13 Thread Markus Armbruster
Also polish an error message while I'm touching the line anyway, Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- include/monitor/qdev.h | 2 +- qdev-monitor.c | 36 +++- vl.c | 7 +-- 3 files changed, 21 insertions(+),

[Qemu-devel] [PATCH v2 2/7] qdev: Un-deprecate qdev_init_nofail()

2015-06-13 Thread Markus Armbruster
It's a perfectly sensible helper function. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake --- include/hw/qdev-core.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index 5789b91..fbfc741 100644 --- a/include/hw/qdev-core.h +++ b/in

[Qemu-devel] [PATCH v2 0/7] qdev: Mostly wean off QError

2015-06-13 Thread Markus Armbruster
Only the calls in do_device_add() remain, because QMP's command handler interface requires them. They'll go away when I wean QMP off QError. Bonus: a few error reporting improvements. Casualty: some explanatory messages, see PATCH 5. Based on "[PULL 0/9] Error reporting patches". v2: * Trivial

[Qemu-devel] [PATCH v2 4/7] qdev-monitor: Fix check for full bus

2015-06-13 Thread Markus Armbruster
Property bus has always been too screwed up to be really usable for values other than plain bus IDs. This just fixes a bug that crept in in commit 1395af6 "qdev: add a maximum device allowed field for the bus." It doesn't always fail when it should: $ qemu-system-x86_64 -nodefaults -device v

[Qemu-devel] [PATCH v2 3/7] qdev-monitor: Stop error avalance in qbus_find_recursive()

2015-06-13 Thread Markus Armbruster
Reproducer: $ qemu-system-x86_64 -nodefaults -device virtio-rng-pci -device virtio-rng-pci -device virtio-rng-device,bus=virtio-bus qemu-system-x86_64: -device virtio-rng-device,bus=virtio-bus: Bus 'virtio-bus' is full qemu-system-x86_64: -device virtio-rng-device,bus=virtio-bus: Bus

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object

2015-06-13 Thread Peter Crosthwaite
On Fri, Jun 12, 2015 at 4:33 AM, Liviu Ionescu wrote: > while implementing the cortex-m hierarchical objects I faced several problems > that required some hack, and I wanted to know your comments on them. > > for convenience I'll explain the problem in C++ and then return to the issues > of the

Re: [Qemu-devel] [RFC] QOM design - add instance data to Object

2015-06-13 Thread Liviu Ionescu
any object oriented gurus around? regards, Liviu > On 12 Jun 2015, at 14:33, Liviu Ionescu wrote: > > while implementing the cortex-m hierarchical objects I faced several problems > that required some hack, and I wanted to know your comments on them. > > for convenience I'll explain the pro

Re: [Qemu-devel] [PATCH 1/2] kvm/x86: Hyper-V based guest crash data handling

2015-06-13 Thread Peter Hornyack
Hi Denis, Andrey, I have a few comments and questions. (re-sending in plain-text mode, apologies for sending twice.) On Thu, Jun 11, 2015 at 6:18 AM, Denis V. Lunev wrote: > From: Andrey Smetanin > > Windows 2012 guests can notify hypervisor about occurred guest crash > (Windows bugcheck(BSOD))

Re: [Qemu-devel] openbios.git mirror on git.qemu.org

2015-06-13 Thread Aurelien Jarno
On 2015-06-11 23:34, Mark Cave-Ayland wrote: > On 09/06/15 11:22, Stefan Hajnoczi wrote: > > On Tue, May 19, 2015 at 09:55:12PM +0100, Peter Maydell wrote: > >> On 19 May 2015 at 21:47, Mark Cave-Ayland > >> wrote: > >>> On 19/05/15 13:55, Andreas Färber wrote: > >>> > Am 19.05.2015 um 12:42

Re: [Qemu-devel] [PATCH 1/2] kvm/x86: Hyper-V based guest crash data handling

2015-06-13 Thread Peter Hornyack
Hi Denis, Andrey, I have a few comments and questions. On Thu, Jun 11, 2015 at 6:18 AM, Denis V. Lunev wrote: > From: Andrey Smetanin > > Windows 2012 guests can notify hypervisor about occurred guest crash > (Windows bugcheck(BSOD)) by writing specific Hyper-V msrs. This patch does > handling