Re: [Qemu-devel] [RFC PATCH qemu v2] ppc/spapr: Receive and store device tree blob from SLOF

2017-10-02 Thread David Gibson
On Tue, Oct 03, 2017 at 04:17:01PM +1100, Alexey Kardashevskiy wrote: > SLOF receives a device tree and updates it with various properties > before switching to the guest kernel and QEMU is not aware of any changes > made by SLOF. Since there is no real RTAS and QEMU implements it, > it makes sense

[Qemu-devel] [PATCH v3] target/ppc: Fix carry flag setting for shift algebraic instructions

2017-10-02 Thread Sandipan Das
For POWER ISA v3.0, the XER bit CA32 needs to be set by the shift right algebraic instructions whenever the CA bit is to be set. This change affects the following instructions: * Shift Right Algebraic Word (sraw[.]) * Shift Right Algebraic Word Immediate (srawi[.]) * Shift Right Algebraic Dou

Re: [Qemu-devel] [PATCH v5 2/6] ppc: spapr: Handle "ibm, nmi-register" and "ibm, nmi-interlock" RTAS calls

2017-10-02 Thread David Gibson
On Tue, Oct 03, 2017 at 11:21:27AM +0530, Aravinda Prasad wrote: > > > On Friday 29 September 2017 12:19 PM, David Gibson wrote: > > I don't suppose there's a way to stop your mailer from inserting > > spaces after the commas in the subject line, > > Not sure how to stop the mailer from doing th

Re: [Qemu-devel] [Qemu-ppc] [PATCH v5 1/6] ppc: spapr: Register and handle HCALL to receive updated RTAS region

2017-10-02 Thread David Gibson
On Mon, Oct 02, 2017 at 02:02:19PM +1100, Alexey Kardashevskiy wrote: > On 29/09/17 21:52, Nikunj A Dadhania wrote: > > David Gibson writes: > > > >> On Thu, Sep 28, 2017 at 04:07:38PM +0530, Aravinda Prasad wrote: > >>> Receive updates from SLOF about the updated rtas-base. > >>> A separate patc

Re: [Qemu-devel] [PATCH] macio: add missing registers to VMStateDescription

2017-10-02 Thread David Gibson
On Sat, Sep 30, 2017 at 05:49:35PM +0100, Mark Cave-Ayland wrote: > Commit 4f7265f "ppc/ide/macio: Add missing registers" added two extra macio > registers but forgot to add them to the corresponding VMStateDescription. > > The version number is bumped accordingly, although this will have little >

Re: [Qemu-devel] [PATCH v5 1/6] ppc: spapr: Register and handle HCALL to receive updated RTAS region

2017-10-02 Thread Aravinda Prasad
On Friday 29 September 2017 11:47 AM, David Gibson wrote: > On Thu, Sep 28, 2017 at 04:07:38PM +0530, Aravinda Prasad wrote: >> Receive updates from SLOF about the updated rtas-base. >> A separate patch for SLOF [1] (commit f9a60de3) adds >> functionality to invoke a private HCALL whenever OS >>

Re: [Qemu-devel] [PATCH v5 2/6] ppc: spapr: Handle "ibm, nmi-register" and "ibm, nmi-interlock" RTAS calls

2017-10-02 Thread Aravinda Prasad
On Friday 29 September 2017 12:19 PM, David Gibson wrote: > I don't suppose there's a way to stop your mailer from inserting > spaces after the commas in the subject line, Not sure how to stop the mailer from doing this as I don't have any spaces in the subject line of my actual patch. > > >

Re: [Qemu-devel] [RFC PATCH qemu v2] ppc/spapr: Receive and store device tree blob from SLOF

2017-10-02 Thread Alexey Kardashevskiy
On 03/10/17 16:17, Alexey Kardashevskiy wrote: > SLOF receives a device tree and updates it with various properties > before switching to the guest kernel and QEMU is not aware of any changes > made by SLOF. Since there is no real RTAS and QEMU implements it, > it makes sense to pass the SLOF devic

[Qemu-devel] [Bug 1673976] Re: core dump

2017-10-02 Thread Thomas Huth
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1673976 Title: core dump Status in QEMU: New Bug description: I'm running a command (locale-

[Qemu-devel] [RFC PATCH qemu v2] ppc/spapr: Receive and store device tree blob from SLOF

2017-10-02 Thread Alexey Kardashevskiy
SLOF receives a device tree and updates it with various properties before switching to the guest kernel and QEMU is not aware of any changes made by SLOF. Since there is no real RTAS and QEMU implements it, it makes sense to pass the SLOF device tree to QEMU so the latter could implement RTAS relat

Re: [Qemu-devel] [PATCH 36/38] mips: Magnum/Acer Pica 61: replace cpu_model with cpu_type

2017-10-02 Thread Hervé Poussineau
Le 02/10/2017 à 11:08, Igor Mammedov a écrit : Signed-off-by: Igor Mammedov --- CC: hpous...@reactos.org CC: aurel...@aurel32.net CC: yongbok@imgtec.com --- hw/mips/mips_jazz.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) Reviewed-by: Hervé Poussineau

Re: [Qemu-devel] [PATCH] target/ppc: Fix carry flag setting for shift algebraic instructions

2017-10-02 Thread David Gibson
On Mon, Oct 02, 2017 at 08:19:10AM -0400, Richard Henderson wrote: > On 09/30/2017 07:36 AM, Sandipan Das wrote: > > For POWER ISA v3.0, the XER bit CA32 needs to be set by the shift > > right algebraic instructions whenever the CA bit is to be set. This > > change affects the following instruction

Re: [Qemu-devel] [PATCH v4 23/23] qemu-io: Relax 'alloc' now that block-status doesn't assert

2017-10-02 Thread John Snow
On 10/02/2017 07:56 PM, Eric Blake wrote: > On 10/02/2017 04:27 PM, John Snow wrote: >> >> >> On 09/13/2017 12:03 PM, Eric Blake wrote: >>> Previously, the alloc command required that input parameters be >>> sector-aligned and clamped to 32 bits, because the underlying >>> bdrv_is_allocated used

[Qemu-devel] [PATCH 2/3] qmp: add block-job-cull command

2017-10-02 Thread John Snow
For jobs that have finished (either completed or canceled), allow the user to dismiss the job's status reports via block-job-cull. Signed-off-by: John Snow --- block/trace-events | 1 + blockdev.c | 14 ++ qapi/block-core.json | 21 + 3 files changed,

[Qemu-devel] [PATCH 1/3] blockjob: add manual-cull property

2017-10-02 Thread John Snow
Add a "manual cull" property to block jobs that forces them to linger in the block job list (visible to QMP queries) until the user explicitly dismisses them via QMP. The cull command itself is implemented in the next commit, and the feature is exposed to drive-backup and blockdev-backup in the su

[Qemu-devel] [PATCH 0/3] blockjobs: add explicit job culling

2017-10-02 Thread John Snow
For jobs that complete when a monitor isn't looking, there's no way to tell what the job's final return code was. We need to allow jobs to remain in the list until queried for reliable management. This is an RFC; tests are on the way. (Tested only manually via qmp-shell for now.) John Snow (3):

[Qemu-devel] [PATCH 3/3] blockjob: expose manual-cull property

2017-10-02 Thread John Snow
For drive-backup and blockdev-backup, expose the manual-cull property, having it default to false. There are no universal creation parameters, so it must be added to each job type that it makes sense for individually. Signed-off-by: John Snow --- blockdev.c | 10 -- qapi/block-

Re: [Qemu-devel] [RFC PATCH qemu] virtio-pci: Replace modern_as with direct access to modern_bar

2017-10-02 Thread Alexey Kardashevskiy
On 23/09/17 01:45, Paolo Bonzini wrote: > On 22/09/2017 17:12, Alexey Kardashevskiy wrote: >> The modern bar is accessed now via yet another address space created just >> for that purpose and it does not really need FlatView and dispatch tree >> as it has a single memory region so it is just a wast

Re: [Qemu-devel] [PATCH qemu v2] pci: Initialize pci_dev->name before use

2017-10-02 Thread Alexey Kardashevskiy
On 15/09/17 16:35, Alexey Kardashevskiy wrote: > This moves pci_dev->name initialization earlier so > pci_dev->bus_master_as could get a name instead of an empty string. > > Signed-off-by: Alexey Kardashevskiy > Reviewed-by: Philippe Mathieu-Daudé Ping? > --- > Changes: > v2: > * fixed mistyp

Re: [Qemu-devel] [PATCH v4 4/9] disas: Support the Capstone disassembler library

2017-10-02 Thread Richard Henderson
On 10/02/2017 02:45 PM, Philippe Mathieu-Daudé wrote: > On 10/02/2017 03:34 PM, Richard Henderson wrote: >> On 10/02/2017 09:36 AM, Philippe Mathieu-Daudé wrote: >>> Maybe some defines like: >>> >>> #define LARGEST_TARGET_INSTR_SIZE 32 >>> >>> #define MINIMUM_TARGET_PAGE_SIZE 1024 >> >> Eh.  If I w

[Qemu-devel] xen-pci-passthrough PCI Express support? (Re: [Xen-devel] [PATCH v2 4/5] pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices)

2017-10-02 Thread Eduardo Habkost
On Thu, Sep 28, 2017 at 10:12:34AM -0300, Eduardo Habkost wrote: > On Thu, Sep 28, 2017 at 02:33:57AM -0600, Jan Beulich wrote: > > >>> On 27.09.17 at 21:56, wrote: > > > --- a/hw/xen/xen_pt.c > > > +++ b/hw/xen/xen_pt.c > > > @@ -964,6 +964,10 @@ static const TypeInfo xen_pci_passthrough_info = {

Re: [Qemu-devel] [PATCH v4 23/23] qemu-io: Relax 'alloc' now that block-status doesn't assert

2017-10-02 Thread Eric Blake
On 10/02/2017 04:27 PM, John Snow wrote: > > > On 09/13/2017 12:03 PM, Eric Blake wrote: >> Previously, the alloc command required that input parameters be >> sector-aligned and clamped to 32 bits, because the underlying >> bdrv_is_allocated used a 32-bit parameter and asserted aligned >> inputs.

Re: [Qemu-devel] [PATCH v4 21/23] block: Align block status requests

2017-10-02 Thread Eric Blake
On 10/02/2017 03:24 PM, John Snow wrote: > > > On 09/13/2017 12:03 PM, Eric Blake wrote: >> Any device that has request_alignment greater than 512 should be >> unable to report status at a finer granularity; it may also be >> simpler for such devices to be guaranteed that the block layer >> has r

Re: [Qemu-devel] [PATCH 3/4] libvhost-user: Update and fix feature and request lists

2017-10-02 Thread Marc-André Lureau
On Mon, Oct 2, 2017 at 9:15 PM, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Update the ProtocolFeature and UserRequest lists to > match hw/virtio/vhost-user.c. > Fix the text labelling in libvhost-user.c to match the list. > > Signed-off-by: Dr. David Alan Gilbert R

Re: [Qemu-devel] [PATCH 4/4] libvhost-user: Support VHOST_USER_SET_SLAVE_REQ_FD

2017-10-02 Thread Marc-André Lureau
On Mon, Oct 2, 2017 at 9:15 PM, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Allow the qemu to pass us a slave fd. We don't do anything > with it yet. > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Marc-André Lureau > --- > contrib/libvhost-user/libvhost

Re: [Qemu-devel] [PATCH 1/4] libvhost-user: vu_queue_started

2017-10-02 Thread Marc-André Lureau
On Mon, Oct 2, 2017 at 9:15 PM, Dr. David Alan Gilbert (git) wrote: > From: "Dr. David Alan Gilbert" > > Add a vu_queue_started method to complement vu_queue_enabled. > > Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Marc-André Lureau > --- > contrib/libvhost-user/libvhost-user.c | 6 +