Re: [Qemu-devel] [RFC PATCH 1/1] hw/core: add qom getter for kernel-irqchip property

2018-12-27 Thread Eduardo Habkost
On Tue, Dec 25, 2018 at 01:20:05PM +0800, Peter Xu wrote: > On Mon, Dec 24, 2018 at 06:52:35AM -0500, Wainer dos Santos Moschetta wrote: > > Allows to access the kernel-irqchip property of a Machine > > Class object via QOM get method. > > > > Before this patch the property cannot be read

Re: [Qemu-devel] [RFC PATCH 1/1] hw/core: add qom getter for kernel-irqchip property

2018-12-24 Thread Peter Xu
On Mon, Dec 24, 2018 at 06:52:35AM -0500, Wainer dos Santos Moschetta wrote: > Allows to access the kernel-irqchip property of a Machine > Class object via QOM get method. > > Before this patch the property cannot be read although it is > listed by qom-list: > > qemu-system-x86_64 -M

[Qemu-devel] [RFC PATCH 1/1] hw/core: add qom getter for kernel-irqchip property

2018-12-24 Thread Wainer dos Santos Moschetta
Allows to access the kernel-irqchip property of a Machine Class object via QOM get method. Before this patch the property cannot be read although it is listed by qom-list: qemu-system-x86_64 -M q35,accel=kvm,kernel-irqchip=split (...) -> {"execute": "qom-list", "arguments": {"path": "/machine"}}