Re: [PATCH v3 2/2] ppc/spapr: Initialize max_cpus limit to SPAPR_IRQ_NR_IPIS.

2024-01-03 Thread Kowshik Jois B S
097. The max CPUs supported by machine 'pseries-8.2' is 4096 [root@host build]# Signed-off-by: Harsh Prateek Bora Reviewed-by: Cédric Le Goater Thanks, C. ---   hw/ppc/spapr.c | 9 +++--   1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c inde

Re: [PATCH v3 1/2] ppc/spapr: Introduce SPAPR_IRQ_NR_IPIS to refer IRQ range for CPU IPIs.

2024-01-03 Thread Kowshik Jois B S
|  6 --   2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/include/hw/ppc/spapr_irq.h b/include/hw/ppc/spapr_irq.h index c22a72c9e2..4fd2d5853d 100644 --- a/include/hw/ppc/spapr_irq.h +++ b/include/hw/ppc/spapr_irq.h @@ -14,9 +14,21 @@   #include "qom/object.h"   /* - *

Re: [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu, help to print options for the CPU type similar to how the '-device' option works.

2023-12-10 Thread Dinah B
the qom or qmp based data structures it's currently intertwined with. Thanks, -Dinah On Tue, Nov 14, 2023 at 12:44 PM Markus Armbruster wrote: > Dinah B writes: > > > Hi, > > > > Is there a way to distinguish between qemu-system-* vs qemu-* builds? > > At first I th

Re: [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu, help to print options for the CPU type similar to how the '-device' option works.

2023-11-14 Thread Dinah B
Hi, Is there a way to distinguish between qemu-system-* vs qemu-* builds? At first I thought #CONFIG_LINUX_USER might be it but not all non-mmu builds set this. Thanks, -Dinah On Wed, Aug 2, 2023 at 1:36 AM Markus Armbruster wrote: > Dinah B writes: > > > Thanks, I will fix thi

Re: [PATCH v3 1/3] qapi: Moved architecture agnostic data types to `machine`

2023-10-31 Thread Dinah B
Baum writes: > > > Signed-off-by: Dinah Baum > > --- > > qapi/machine-target.json | 78 +--- > > qapi/machine.json| 77 +++ > > 2 files changed, 78 insertions(+), 77 deletions(-) > > >

Re: [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu, help to print options for the CPU type similar to how the '-device' option works.

2023-08-01 Thread Dinah B
Thanks, I will fix this. I somehow didn't catch that you had replied to the old one. -Dinah On Tue, Aug 1, 2023 at 10:10 AM Markus Armbruster wrote: > Dinah Baum writes: > > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1480 > > Signed-off-by: Dinah Baum > > > > Signed-off-by:

Re: [PATCH v3 3/3] cpu, softmmu/vl.c: Change parsing of -cpu argument to allow -cpu cpu, help to print options for the CPU type similar to how the '-device' option works.

2023-08-01 Thread Dinah B
softmmu/vl.c | 35 +- > 5 files changed, 85 insertions(+), 4 deletions(-) > > diff --git a/cpu.c b/cpu.c > index a99d09cd47..9971ffeeba 100644 > --- a/cpu.c > +++ b/cpu.c > @@ -43,6 +43,10 @@ > #include "trace/trace-ro

Re: [PATCH v2 0/3] Enable -cpu ,help

2023-03-21 Thread Dinah B
Friendly ping for code review on this patch series. Full series: https://lore.kernel.org/qemu-devel/20230314100026.536079-1-dinahbaum...@gmail.com/ Thanks, -DInah On Tue, Mar 14, 2023 at 6:00 AM Dinah Baum wrote: > Part 1 is a refactor/code motion patch for > qapi/machine target required for

Re: Adopting abandoned patch?

2023-02-27 Thread Dinah B
It looks like the author didn't include a "Signed off" in their patch draft and it doesn't look like Debian qemu-kvm maintainers ever merged it. Does this change the patch adoption process? Thanks, -Dinah On Mon, Feb 27, 2023 at 4:23 PM Dinah B wrote: > Thanks, here's the o

Re: Adopting abandoned patch?

2023-02-27 Thread Dinah B
Thanks, here's the original patch: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=2;bug=621529;filename=multiboot2.patch;msg=15 On Mon, Feb 27, 2023 at 4:59 AM Alex Bennée wrote: > > Dinah B writes: > > > Hi, > > > > I'm looking to get more involved in cont

Adopting abandoned patch?

2023-02-26 Thread Dinah B
Hi, I'm looking to get more involved in contributing to QEMU. I noticed that there are some issues in the tracker where a sample patch has been contributed but never got merged, like a proposal to add multiboot2 support: https://gitlab.com/qemu-project/qemu/-/issues/389 Is another dev allowed to

Re: [PATCH 1/2] configure: Add 'mkdir build' check

2023-02-15 Thread Dinah B
being created. > > Checking if 'mkdir dir' succeeds prevents this error. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/321 > --- > configure | 15 ++- > 1 file changed, 10 insertions(+), 5 deletions(-) > > diff --git a/configure b/configure >

Re: [PATCH] configure: Add 'mkdir build' check

2023-02-06 Thread Dinah B
++--- > > 1 file changed, 30 insertions(+), 7 deletions(-) > > > > diff --git a/configure b/configure > > index 64960c6000..fe9028991f 100755 > > --- a/configure > > +++ b/configure > > @@ -32,9 +32,11 @@ then > > fi > >

Re: [PATCH 4/6] hw/rtc/mc146818rtc: Add a property for the availability of the slew tick policy

2023-01-09 Thread B
- >>>   include/hw/rtc/mc146818rtc.h |  1 + >>>   hw/i386/pc_piix.c    |  1 + >>>   hw/isa/lpc_ich9.c    |  1 + >>>   hw/isa/piix3.c   |  1 + >>>   hw/rtc/mc146818rtc.c | 16 ++-- >>>   5 files changed, 14

Re: [PATCH] target/ppc: Fix build warnings when building with 'disable-tcg'

2022-11-17 Thread Kowshik Jois B S
is compiled with '--enable-tcg' Reported-by: Kowshik Jois B S Signed-off-by: Vaibhav Jain --- target/ppc/cpu_init.c| 2 ++ target/ppc/excp_helper.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/target/ppc/cpu_init.c b/target/ppc/cpu_init.c index 32e94153d1..cbf0081374 100644

Re: [PULL v3 49/81] acpi: pc: vga: use AcpiDevAmlIf interface to build VGA device descriptors

2022-11-08 Thread B
Am 7. November 2022 22:28:31 UTC schrieb "Michael S. Tsirkin" : >On Mon, Nov 07, 2022 at 10:07:52PM +, Bernhard Beschow wrote: >> Am 7. November 2022 13:00:36 UTC schrieb "Michael S. Tsirkin" >> : >> >On Mon, Nov 07, 2022 at 06:16:25PM +0530, Ani Sinha wrote: >> >> On Mon, Nov 7, 2022 at

Re: [PATCH v5 0/6] ppc/e500: Add support for two types of flash, cleanup

2022-11-01 Thread B
Am 1. November 2022 17:43:46 UTC schrieb "Philippe Mathieu-Daudé" : >On 1/11/22 17:58, Philippe Mathieu-Daudé wrote: >> On 1/11/22 17:01, Bernhard Beschow wrote: >>> Am 1. November 2022 10:41:51 UTC schrieb Bernhard Beschow >>> : On Mon, Oct 31, 2022 at 12:54 PM Philippe Mathieu-Daudé

Re: [PATCH v2 3/3] hw/i386/acpi-build: Resolve north rather than south bridges

2022-10-28 Thread B
t;> --- >> hw/i386/acpi-build.c | 11 ++- >> 1 file changed, 6 insertions(+), 5 deletions(-) >> >> diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c >> index 73d8a59737..d9eaa5fc4d 100644 >> --- a/hw/i386/acpi-build.c >> +++ b/hw/i386

Re: [PATCH v4 5/7] hw/ppc/e500: Implement pflash handling

2022-10-28 Thread B
t; Signed-off-by: Bernhard Beschow >> --- >> docs/system/ppc/ppce500.rst | 16 >> hw/ppc/Kconfig | 1 + >> hw/ppc/e500.c | 79 + >> 3 files changed, 96 insertions(+) >> >> diff

Re: [PATCH v2 14/43] hw/intc/i8259: Introduce i8259 proxy "isa-pic"

2022-10-26 Thread B
i < ISA_NUM_IRQS; ++i) { >> +s->in_irqs[i] = qdev_get_gpio_in(DEVICE(s), i); >> +} >> +} >> + >> +static const TypeInfo isapic_info = { >> +.name = TYPE_ISA_PIC, >> +.parent= TYPE_ISA_DEVICE, >> +.instance_size = si

Re: [PATCH v4 0/7] ppc/e500: Add support for two types of flash, cleanup

2022-10-26 Thread B
Am 26. Oktober 2022 17:18:14 UTC schrieb Daniel Henrique Barboza : >Hi, > >Since this is being sent to qemu-ppc and has to do with e500 I decided to >take a look. I acked the e500 related patches, 5 and 7. Patch 6 LGTM as well >but I'd rather not ack it it's SD specific code. > >I'll send a

Re: A few QEMU questiosn

2022-10-07 Thread a b
___ From: Peter Maydell Sent: October 6, 2022 10:50 AM To: a b Cc: qemu-devel@nongnu.org Subject: Re: A few QEMU questiosn On Thu, 6 Oct 2022 at 08:34, a b wrote: > > Thanks a lot Peter for the clarification. It is very helpful. > > My naive understandi

Re: A few QEMU questiosn

2022-10-06 Thread a b
From: Peter Maydell Sent: October 4, 2022 9:20 AM To: a b Cc: qemu-devel@nongnu.org Subject: Re: A few QEMU questiosn On Tue, 4 Oct 2022 at 02:10, a b wrote: > I have a few newbie QEMU questions. I found that mmu_idx in aarch64-softmmu > falls in 8, 10 and 12. > > I need some

A few QEMU questiosn

2022-10-03 Thread a b
Hello, there, I have a few newbie QEMU questions. I found that mmu_idx in aarch64-softmmu falls in 8, 10 and 12. I need some help to understand what they are for. I cannot find which macros are for mmu-idx 8, 10 and 12 at

Re: [PATCH 07/11] hw/ppc/e500: Implement pflash handling

2022-10-03 Thread B
nhard Beschow >>> --- >>> docs/system/ppc/ppce500.rst | 12 + >>> hw/ppc/Kconfig | 1 + >>> hw/ppc/e500.c | 54 + >>> 3 files changed, 67 insertions(+) >>> >>> diff --git

Re: [PATCH v2] hw/virtio/vhost-shadow-virtqueue: Silence GCC error "maybe-uninitialized"

2022-09-27 Thread B
2.0 >> >>Fixes: 9c2ab2f1ec333be8614cc12272d4b91960704dbe ("vhost: stop transfer elem >>ownership in vhost_handle_guest_kick") >>Signed-off-by: Bernhard Beschow >>--- > >Ping Ping2 > >> hw/virtio/vhost-shadow-virtqueue.c | 2 +- >> 1 file

Re: [PATCH 1/9] hw/riscv/sifive_e: Fix inheritance of SiFiveEState

2022-09-22 Thread B
Am 21. September 2022 04:55:02 UTC schrieb Markus Armbruster : >Bernhard Beschow writes: > >> Am 20. September 2022 11:36:47 UTC schrieb Markus Armbruster >> : >>>Alistair Francis writes: >>> On Tue, Sep 20, 2022 at 9:18 AM Bernhard Beschow wrote: > > SiFiveEState inherits

Re: [PATCH v6 03/10] i386/pc: pass pci_hole64_size to pc_memory_init()

2022-07-11 Thread B
Am 11. Juli 2022 10:01:49 UTC schrieb Joao Martins : >On 7/9/22 21:51, B wrote: >> Am 1. Juli 2022 16:10:07 UTC schrieb Joao Martins >> : >>> Use the pre-initialized pci-host qdev and fetch the >>> pci-hole64-size into pc_memory_init() newly added argument. &

Re: [PATCH v6 03/10] i386/pc: pass pci_hole64_size to pc_memory_init()

2022-07-09 Thread B
| 8 +++- > hw/pci-host/i440fx.c | 7 +++ > include/hw/i386/pc.h | 3 ++- > include/hw/pci-host/i440fx.h | 1 + > 6 files changed, 23 insertions(+), 4 deletions(-) > >diff --git a/hw/i386/pc.c b/hw/i386/pc.c >index a9d1bf95649a..1bb89a9c17ec 100644

Re: [PATCH 0/2] Decouple Xen-HVM from PIIX

2022-06-28 Thread B
Am 26. Juni 2022 09:46:54 UTC schrieb Bernhard Beschow : >hw/i386/xen/xen-hvm.c contains logic which is PIIX-specific. This makes >xen-hvm.c depend on PIIX which can be avoided if PIIX logic was isolated in >PIIX itself. > > > >Bernhard Beschow (2): > > hw/i386/xen/xen-hvm: Allow for

Re: [PATCH] hw/pci-host/i440fx: Remove unused parameter from i440fx_init()

2022-06-19 Thread B
st/i440fx.h | 1 - > 3 files changed, 1 insertion(+), 7 deletions(-) > >diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c >index 0fc2361ffe..a234989ac3 100644 >--- a/hw/i386/pc_piix.c >+++ b/hw/i386/pc_piix.c >@@ -82,7 +82,6 @@ static void pc_init1(MachineState *machine, >

Re: [RFC PATCH v0 1/2] spapr: Add H_REG_SNS hcall

2021-08-11 Thread Bharata B Rao
On Mon, Aug 09, 2021 at 01:49:54PM +1000, David Gibson wrote: > On Thu, Aug 05, 2021 at 01:02:27PM +0530, Bharata B Rao wrote: > > Add support for H_REG_SNS hcall so that asynchronous page > > fault mechanism can be supported on PowerKVM guests. > > > > Th

Re: [RFC PATCH v0 2/2] ppc,spapr: Handle KVM_EXIT_ESN

2021-08-05 Thread Bharata B Rao
On Thu, Aug 05, 2021 at 09:48:04AM +0200, Laurent Vivier wrote: > On 05/08/2021 09:32, Bharata B Rao wrote: > > Handle KVM_EXIT_ESN exit by issuing subvention notification > > interrupt to the guest. Guests supporting async-pf feature > > will need this interrupt to wake up t

[RFC PATCH v0 0/2] Support for H_REG_SNS hcall

2021-08-05 Thread Bharata B Rao
Bharata B Rao (2): spapr: Add H_REG_SNS hcall ppc,spapr: Handle KVM_EXIT_ESN hw/ppc/spapr.c | 3 ++ hw/ppc/spapr_hcall.c| 56 + include/hw/ppc/spapr.h | 3 ++ include/hw/ppc/spapr_irq.h | 1 + linux-headers/asm

[RFC PATCH v0 1/2] spapr: Add H_REG_SNS hcall

2021-08-05 Thread Bharata B Rao
as subvention notification interrupt. Note: Updates to linux-headers/linux/kvm.h are temporary pending headers update. Signed-off-by: Bharata B Rao --- hw/ppc/spapr.c | 3 ++ hw/ppc/spapr_hcall.c| 56 + include/hw/ppc/spapr.h | 3

[RFC PATCH v0 2/2] ppc,spapr: Handle KVM_EXIT_ESN

2021-08-05 Thread Bharata B Rao
update. Signed-off-by: Bharata B Rao --- linux-headers/linux/kvm.h | 1 + target/ppc/kvm.c | 16 2 files changed, 17 insertions(+) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index a76945fcbc..105c8b069a 100644 --- a/linux-headers/linux/kvm.h +++ b

[PATCH v1 2/2] target/ppc: Support for H_RPT_INVALIDATE hcall

2021-07-06 Thread Bharata B Rao
-by: Bharata B Rao --- hw/ppc/spapr.c | 6 ++ hw/ppc/spapr_caps.c| 41 + include/hw/ppc/spapr.h | 8 ++-- target/ppc/kvm.c | 12 target/ppc/kvm_ppc.h | 12 5 files changed, 77 insertions(+), 2 deletions(-) diff

[PATCH v1 1/2] linux-headers: Update

2021-07-06 Thread Bharata B Rao
Update to mainline commit: 79160a603bdb ("Merge tag 'usb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb" Signed-off-by: Bharata B Rao --- include/standard-headers/asm-x86/kvm_para.h | 13 +++ include/standard-headers/drm/drm_fourcc.h | 7 ++ includ

[PATCH v1 0/2] Enable support for H_RPT_INVALIDATE hcall

2021-07-06 Thread Bharata B Rao
KVM capability) and enables the same. Headers update is needed for KVM_CAP_PPC_RPT_INVALIDATE. v0: https://lore.kernel.org/qemu-devel/20210106085910.2200795-1-bhar...@linux.ibm.com/ Bharata B Rao (2): linux-headers: Update target/ppc: Support for H_RPT_INVALIDATE hcall hw/ppc/spapr.c

Re: [RFC PATCH v0 1/1] target/ppc: Support for H_RPT_INVALIDATE hcall

2021-01-18 Thread Bharata B Rao
On Fri, Jan 15, 2021 at 06:30:05PM +0100, Greg Kurz wrote: > On Fri, 15 Jan 2021 14:01:28 +0530 > Bharata B Rao wrote: > > > On Wed, Jan 13, 2021 at 05:22:56PM +0100, Greg Kurz wrote: > > > Hi Bharata, > > > > > > On Wed, 6 Jan 2021

Re: [RFC PATCH v0 1/1] target/ppc: Support for H_RPT_INVALIDATE hcall

2021-01-15 Thread Bharata B Rao
On Wed, Jan 13, 2021 at 05:22:56PM +0100, Greg Kurz wrote: > Hi Bharata, > > On Wed, 6 Jan 2021 14:29:10 +0530 > Bharata B Rao wrote: > > > If KVM_CAP_RPT_INVALIDATE KVM capability is enabled, then > > > > - indicate the availability of H_RPT_INVALIDATE

Re: [RFC PATCH v0 1/1] target/ppc: Support for H_RPT_INVALIDATE hcall

2021-01-13 Thread Bharata B Rao
On Tue, Jan 12, 2021 at 10:16:30AM -0300, Daniel Henrique Barboza wrote: > > > On 1/6/21 5:59 AM, Bharata B Rao wrote: > > If KVM_CAP_RPT_INVALIDATE KVM capability is enabled, then > > > > - indicate the availability of H_RPT_INVALIDATE hcall to the guest via &g

[RFC PATCH v0 1/1] target/ppc: Support for H_RPT_INVALIDATE hcall

2021-01-06 Thread Bharata B Rao
-by: Bharata B Rao --- hw/ppc/spapr.c| 7 ++ hw/ppc/spapr_caps.c | 49 +++ include/hw/ppc/spapr.h| 8 +-- linux-headers/linux/kvm.h | 1 + target/ppc/kvm.c | 12 ++ target/ppc/kvm_ppc.h | 11 + 6 files

Re: [RFC PATCH 1/2] spapr: drc: Add support for async hcalls at the drc level

2020-11-26 Thread Bharata B Rao
c.c | 146 > > include/hw/ppc/spapr_drc.h | 25 > 2 files changed, 171 insertions(+) > > diff --git a/hw/ppc/spapr_drc.c b/hw/ppc/spapr_drc.c > index 77718cde1f..2cecccf701 100644 > --- a/hw/ppc/spapr_drc.c >

RE: [RFC PATCH 00/12] hw/arm/virt: Introduce cpu and cache topology support

2020-10-13 Thread Zengtao (B)
Cc valentin > -Original Message- > From: Qemu-devel > [mailto:qemu-devel-bounces+prime.zeng=hisilicon@nongnu.org] > On Behalf Of Ying Fang > Sent: Thursday, September 17, 2020 11:20 AM > To: qemu-devel@nongnu.org > Cc: peter.mayd...@linaro.org; drjo...@redhat.com; Zhanghailiang; >

Re: [Qemu-devel] [PATCH] target-ppc: Add quad precision muladd instructions

2020-09-22 Thread Bharata B Rao
On Tue, Sep 22, 2020 at 10:04:53AM +0200, David Hildenbrand wrote: > Hi guys, > > I just stumbled over > > https://lore.kernel.org/qemu-devel/1487140636-19955-1-git-send-email-bhar...@linux.vnet.ibm.com/ > > while looking for the state of float128_muladd(), as I need that for > s390x as well. >

[Query] VM CPU scheduling

2020-05-03 Thread Ramesh B
Hi All, I started recently using QEMU for OS virtualization. Want to know/understand about scheduling. Environment: Host OS: Ubuntu 18.4 + KVM enable QEMU: 4.2 Workstation/Desktop: x86_64 Would like to understand, 1. How CPU scheduling works. 2. Tools/commands to monitor. 3. Tuning

Re: [RFC PATCH 1/1] ppc/spapr: Add hotplugged flag on DIMM LMBs on drmem_v2

2020-04-02 Thread Bharata B Rao
very least it doesn't look like > it could do much harm. Looks good to me, also tested with PowerKVM guests. Reviewed-by: Bharata B Rao Regards, Bharata. -- http://raobharata.wordpress.com/

RE: [PATCH v12 Kernel 0/7] KABIs to support migration for VFIO devices

2020-03-09 Thread Zengtao (B)
Hi Kirti: What kind of platform/IO are you using now to do the basic code verification? I just want to check if I can verify it on my platform, and if any open IO cards available? Thanks. Regards Zengtao > -Original Message- > From: kvm-ow...@vger.kernel.org

RE: [PATCH] hw/arm/acpi: Pack the SRAT processors structure by node_id ascending order

2020-01-13 Thread Zengtao (B)
> -Original Message- > From: Igor Mammedov [mailto:imamm...@redhat.com] > Sent: Monday, January 13, 2020 5:06 PM > To: Zengtao (B) > Cc: Peter Maydell; Michael S. Tsirkin; qemu-triv...@nongnu.org; > qemu-devel@nongnu.org; Shannon Zhao; qemu-...@nongnu.org > Subject: Re

RE: [PATCH] hw/arm/acpi: Pack the SRAT processors structure by node_id ascending order

2020-01-09 Thread Zengtao (B)
> -Original Message- > From: Igor Mammedov [mailto:imamm...@redhat.com] > Sent: Thursday, January 09, 2020 5:54 PM > To: Zengtao (B) > Cc: Michael S. Tsirkin; qemu-devel@nongnu.org; qemu-triv...@nongnu.org; > Shannon Zhao; Peter Maydell; qemu-...@nongnu.org > Subjec

RE: [PATCH] hw/arm/acpi: Pack the SRAT processors structure by node_id ascending order

2020-01-08 Thread Zengtao (B)
> -Original Message- > From: Igor Mammedov [mailto:imamm...@redhat.com] > Sent: Thursday, January 09, 2020 12:39 AM > To: Zengtao (B) > Cc: Michael S. Tsirkin; qemu-devel@nongnu.org; qemu-triv...@nongnu.org; > Shannon Zhao; Peter Maydell; qemu-...@nongnu.org > Subjec

RE: [PATCH] hw/arm/acpi: Pack the SRAT processors structure by node_id ascending order

2020-01-07 Thread Zengtao (B)
> -Original Message- > From: Igor Mammedov [mailto:imamm...@redhat.com] > Sent: Tuesday, January 07, 2020 11:50 PM > To: Zengtao (B) > Cc: Michael S. Tsirkin; qemu-devel@nongnu.org; qemu-triv...@nongnu.org; > Shannon Zhao; Peter Maydell; qemu-...@nongnu.org > Subjec

RE: [PATCH] hw/arm/acpi: Pack the SRAT processors structure by node_id ascending order

2020-01-07 Thread Zengtao (B)
> -Original Message- > From: Michael S. Tsirkin [mailto:m...@redhat.com] > Sent: Tuesday, January 07, 2020 5:33 PM > To: Zengtao (B) > Cc: qemu-devel@nongnu.org; qemu-triv...@nongnu.org; Shannon Zhao; > Peter Maydell; Igor Mammedov; qemu-...@nongnu.org > Subject: Re

[PATCH ppc-for-5.0 1/1] ppc/spapr: Don't call KVM_SVM_OFF ioctl on TCG

2020-01-01 Thread Bharata B Rao
Invoking KVM_SVM_OFF ioctl for TCG guests will lead to a QEMU crash. Fix this by ensuring that we don't call KVM_SVM_OFF ioctl on TCG. Reported-by: Alexey Kardashevskiy Fixes: 4930c1966249 ("ppc/spapr: Support reboot of secure pseries guest") Signed-off-by: Bharata B Rao --- target

[PATCH v4 ppc-for-5.0 1/2] linux-headers: Update

2019-12-18 Thread Bharata B Rao
Update to mainline commit: d1eef1c61974 ("Linux 5.5-rc2") Signed-off-by: Bharata B Rao --- include/standard-headers/asm-x86/bootparam.h | 7 +- .../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +++- include/standard-headers/drm/drm_fourcc.h | 28 ++- .../linux/input-eve

[PATCH v4 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-18 Thread Bharata B Rao
of this ioctl, the secure guest is essentially transitioned back to normal mode so that it can reboot like a regular guest and become secure again. This ioctl has no effect when invoked for a normal guest. If this ioctl fails for a secure guest, the guest is terminated. Signed-off-by: Bharata B

[PATCH v4 ppc-for-5.0 0/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-18 Thread Bharata B Rao
/error_setg_errno (Greg Kurz) Bharata B Rao (2): linux-headers: Update ppc/spapr: Support reboot of secure pseries guest hw/ppc/spapr.c| 1 + include/standard-headers/asm-x86/bootparam.h | 7 +- .../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +++- include/standard

[PATCH v3 ppc-for-5.0 1/2] linux-headers: Update

2019-12-17 Thread Bharata B Rao
Update to mainline commit: d1eef1c61974 ("Linux 5.5-rc2") Signed-off-by: Bharata B Rao --- include/standard-headers/asm-x86/bootparam.h | 7 +- .../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +++- include/standard-headers/drm/drm_fourcc.h | 28 ++- .../linux/input-eve

[PATCH v3 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-17 Thread Bharata B Rao
of this ioctl, the secure guest is essentially transitioned back to normal mode so that it can reboot like a regular guest and become secure again. This ioctl has no effect when invoked for a normal guest. If this ioctl fails for a secure guest, the guest is terminated. Signed-off-by: Bharata B

[PATCH v3 ppc-for-5.0 0/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-17 Thread Bharata B Rao
as David Gibson suggested. - Updated linux-headers to 5.5.0-rc2 Bharata B Rao (2): linux-headers: Update ppc/spapr: Support reboot of secure pseries guest hw/ppc/spapr.c| 1 + include/standard-headers/asm-x86/bootparam.h | 7 +- .../infiniband/hw/vmw_pvrdma

Re: [PATCH v2 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-12 Thread Bharata B Rao
On Thu, Dec 12, 2019 at 01:27:23PM +0100, Greg Kurz wrote: > > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c > > index f11422fc41..25e1a3446e 100644 > > --- a/hw/ppc/spapr.c > > +++ b/hw/ppc/spapr.c > > @@ -1597,6 +1597,21 @@ static void spapr_machine_reset(MachineStat

Re: [PATCH v2 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-12 Thread Bharata B Rao
On Thu, Dec 12, 2019 at 08:34:57AM +0100, Cédric Le Goater wrote: > Hello Bharata, > > > On 12/12/2019 06:50, Bharata B Rao wrote: > > A pseries guest can be run as a secure guest on Ultravisor-enabled > > POWER platforms. When such a secure guest is reset, we need to

[PATCH v2 ppc-for-5.0 1/2] linux-headers: Update

2019-12-11 Thread Bharata B Rao
Update to mainline commit: e42617b825f8 ("Linux 5.5-rc1") Signed-off-by: Bharata B Rao --- include/standard-headers/asm-x86/bootparam.h | 7 +- .../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +++- include/standard-headers/drm/drm_fourcc.h | 28 ++- .../linux/input-eve

[PATCH v2 ppc-for-5.0 0/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-11 Thread Bharata B Rao
This patchset adds KVM_PPC_SVM_OFF ioctl which is required to support reset of secure guest. This includes linux-headers update so that we get the newly introduced ioctl. v1: https://lists.gnu.org/archive/html/qemu-devel/2019-12/msg01489.html Bharata B Rao (2): linux-headers: Update ppc

[PATCH v2 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-11 Thread Bharata B Rao
of this ioctl, the secure guest is essentially transitioned back to normal mode so that it can reboot like a regular guest and become secure again. This ioctl has no effect when invoked for a normal guest. If this ioctl fails for a secure guest, the guest is terminated. Signed-off-by: Bharata B

Re: [PATCH v1 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-11 Thread Bharata B Rao
On Wed, Dec 11, 2019 at 04:27:42PM +1100, David Gibson wrote: > Ah, right. We'll need to check for -ENOTTY specifically and ignore > it, then. We don't want this spewing warnings on every non-secure > guest. I am posting v2 with explicit check for -ENOTTY. > > > It looks like we may need a

RE: [Qemu-devel] [RFC PATCH 0/6] hw/arm/virt: Introduce cpu topology support

2019-12-11 Thread Zengtao (B)
Hi Andrew: Thanks for your reply. It 's fine for me if you are still tracking the thread. And I can help to test if needed ^_^. > -Original Message- > From: Andrew Jones [mailto:drjo...@redhat.com] > Sent: Tuesday, December 10, 2019 6:13 PM > To: Zengtao (B) > Cc: qemu-d

Re: [PATCH v1 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-10 Thread Bharata B Rao
On Wed, Dec 11, 2019 at 10:41:32AM +1100, David Gibson wrote: > On Tue, Dec 10, 2019 at 12:20:07PM +0530, Bharata B Rao wrote: > > On Tue, Dec 10, 2019 at 04:05:36PM +1100, David Gibson wrote: > > > On Tue, Dec 10, 2019 at 03:03:01PM +1100, Alexey K

Re: [PATCH v1 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-09 Thread Bharata B Rao
On Tue, Dec 10, 2019 at 04:05:36PM +1100, David Gibson wrote: > On Tue, Dec 10, 2019 at 03:03:01PM +1100, Alexey Kardashevskiy wrote: > > > > > > On 10/12/2019 14:50, Bharata B Rao wrote: > > > On Tue, Dec 10, 2019 at 02:28:51PM +1100, David Gibson wrote: > &

Re: [PATCH v1 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-09 Thread Bharata B Rao
On Tue, Dec 10, 2019 at 02:28:51PM +1100, David Gibson wrote: > On Mon, Dec 09, 2019 at 12:30:12PM +0530, Bharata B Rao wrote: > > A pseries guest can be run as a secure guest on Ultravisor-enabled > > POWER platforms. When such a secure guest is reset, we need to > > release/

[PATCH v1 ppc-for-5.0 2/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-08 Thread Bharata B Rao
of this ioctl, the secure guest is essentially transitioned back to normal mode so that it can reboot like a regular guest and become secure again. This ioctl has no effect when invoked for a normal guest. Signed-off-by: Bharata B Rao --- hw/ppc/spapr.c | 1 + target/ppc/kvm.c | 7

[PATCH v1 ppc-for-5.0 1/2] linux-headers: Update

2019-12-08 Thread Bharata B Rao
Update to mainline commit: e42617b825f8 ("Linux 5.5-rc1") Signed-off-by: Bharata B Rao --- include/standard-headers/asm-x86/bootparam.h | 7 +- .../infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 15 +++- include/standard-headers/drm/drm_fourcc.h | 28 ++- .../linux/input-eve

[PATCH v1 ppc-for-5.0 0/2] ppc/spapr: Support reboot of secure pseries guest

2019-12-08 Thread Bharata B Rao
This patchset adds KVM_PPC_SVM_OFF ioctl which is required to support reset of secure guest. This includes linux-headers update so that we get the newly introduced ioctl. v0: https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg02408.html Bharata B Rao (2): linux-headers: Update ppc

RE: [Qemu-devel] [RFC PATCH 0/6] hw/arm/virt: Introduce cpu topology support

2019-12-08 Thread Zengtao (B)
Hi Andrew: Any update for this patch series? I have met the same issue, and if the topology guessed by linux MPIDR conflicts with qemu specified numa, it will failed to boot (sched domain initialization will fall into deadloop). Thanks. > -Original Message- > From: Qemu-devel >

Re: [PATCH v3 2/3] spapr: Add NVDIMM device support

2019-11-26 Thread Bharata B Rao
On Fri, Nov 22, 2019 at 10:42 AM David Gibson wrote: > > Ok. A number of queries about this. > > 1) The PAPR spec for ibm,dynamic-memory-v2 says that the first word in > each entry is the number of LMBs, but for NVDIMMs you use the > not-necessarily-equal scm_block_size instead. Does the NVDIMM

[Qemu-devel] [PATCH] vhost-vsock: report QMP event when set running

2019-07-30 Thread N. B.
insertions(+) diff --git a/hw/virtio/vhost-vsock.c b/hw/virtio/vhost-vsock.c index 0371493..a5920fd 100644 --- a/hw/virtio/vhost-vsock.c +++ b/hw/virtio/vhost-vsock.c @@ -22,6 +22,7 @@ #include "qemu/iov.h" #include "qemu/module.h" #include "monitor/monitor.h" +#in

Re: [Qemu-devel] [PATCH v0] ppc/spapr: Support reboot of secure pseries guest

2019-07-10 Thread Bharata B Rao
On Thu, Jul 11, 2019 at 11:31:00AM +1000, David Gibson wrote: > On Wed, Jul 10, 2019 at 11:36:21AM +0530, Bharata B Rao wrote: > > A pseries guest can be run as a secure guest on Ultravisor-enabled > > POWER platforms. When such a secure guest is reset, we need to > > release/

[Qemu-devel] [PATCH v0] ppc/spapr: Support reboot of secure pseries guest

2019-07-10 Thread Bharata B Rao
of this ioctl, the secure guest is essentially transitioned back to normal mode so that it can reboot like a regular guest and become secure again. This ioctl has no effect when invoked for a normal guest. Signed-off-by: Bharata B Rao --- * The ioctl implementation in the kernel can be found

Re: [Qemu-devel] Wiki Account

2019-03-23 Thread Kenneth B. Jensen
On 3/23/19 2:50 PM, Max Filippov wrote: I've created an account for you, user name: kenneth_b_jensen I'll send password privately. Thank you very much, Max!

[Qemu-devel] Wiki Account

2019-03-23 Thread Kenneth B. Jensen
Hi, Could anybody please create an account for me? I would like to add some documentation to the Documentation/Networking page on setting up taps and bridges using iproute2. Thanks, Kenneth

[Qemu-devel] [Bug 1815413] [NEW] compile with vhost-vsock support on osx

2019-02-10 Thread b s
Public bug reported: compiling latest (3.1.0) on osx 10.14.3 with --enable-vhost-vsock and target = x86_64-softmmu results in compile errors: Undefined symbols for architecture x86_64: "_vhost_dev_cleanup", referenced from: _vhost_vsock_device_realize in vhost-vsock.o

[Qemu-devel] [PATCH] spapr_cpu_core: vmstate_[un]register per-CPU data from (un)realizefn

2018-08-08 Thread Bharata B Rao
happens during CPU removal. Fixing this becomes easier when vmstate (un)registration calls are moved to vcpu (un)realize functions which is what this patch does. Fixes: https://bugs.launchpad.net/qemu/+bug/1785972 Reported-by: Satheesh Rajendran Signed-off-by: Bharata B Rao --- hw/ppc

[Qemu-devel] [Bug 1785972] Re: v3.0.0-rc4: VM fails to start after vcpuhotunplug, managedsave sequence

2018-08-08 Thread Bharata B Rao
The first commit that causes this issue is: b94020268e0b6659499e250d25346baaa9888fed (spapr_cpu_core: migrate per- CPU data) Simpler way to reproduce: 1. Hotplug a CPU 2. Hot unplug it 3. Migrate the VM (will fail) -- You received this bug notification because you are a member of qemu-

Re: [Qemu-devel] VCPU hotplug on KVM/ARM

2018-08-01 Thread Bharata B Rao
On Tue, Jul 31, 2018 at 3:57 PM, Igor Mammedov wrote: > On Wed, 25 Jul 2018 14:07:12 +0100 > Marc Zyngier wrote: > > > On 25/07/18 13:28, Andrew Jones wrote: > > > On Wed, Jul 25, 2018 at 11:40:54AM +0100, Marc Zyngier wrote: > > >> On 24/07/18 19:35, Maran Wilson wrote: > > >>> It's been a few

[Qemu-devel] [Bug 1780928] Re: v2.12.0-2321-gb34181056c: vcpu hotplug crashes qemu-kvm with segfault

2018-07-10 Thread Bharata B Rao
Reverting the below comment makes CPU hotplug work again: commit a028dd423ee6dfd091a8c63028240832bf10f671 ppc/xics: introduce ICP DeviceRealize and DeviceReset handlers This changes the ICP realize and reset handlers in DeviceRealize and DeviceReset handlers. parent handlers are

[Qemu-devel] [RFC PATCH v4] spapr: Support ibm, dynamic-memory-v2 property

2018-04-19 Thread Bharata B Rao
The new property ibm,dynamic-memory-v2 allows memory to be represented in a more compact manner in device tree. Signed-off-by: Bharata B Rao <bhar...@linux.vnet.ibm.com> --- v3: https://lists.gnu.org/archive/html/qemu-devel/2018-04/msg02159.html Changes in v4: (Addresses all David Gi

Re: [Qemu-devel] [PATCH v3] spapr: Support ibm, dynamic-memory-v2 property

2018-04-17 Thread Bharata B Rao
On Tue, Apr 17, 2018 at 11:14:27AM +1000, David Gibson wrote: > > static void spapr_machine_2_12_class_options(MachineClass *mc) > > diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h > > index d60b7c6d7a..5e044c44af 100644 > > --- a/include/hw/ppc/spapr.h

Re: [Qemu-devel] [PATCH for 2.13 v3 1/2] spapr: Add ibm, max-associativity-domains property

2018-04-16 Thread Bharata B Rao
On Mon, Apr 16, 2018 at 07:47:29PM +0300, Serhii Popovych wrote: > Bharata B Rao wrote: > > On Wed, Apr 11, 2018 at 02:41:59PM -0400, Serhii Popovych wrote: > >> Now recent kernels (i.e. since linux-stable commit a346137e9142 > >> ("powerpc/numa: Use ibm,max-a

[Qemu-devel] [PATCH v3] spapr: Support ibm, dynamic-memory-v2 property

2018-04-16 Thread Bharata B Rao
The new property ibm,dynamic-memory-v2 allows memory to be represented in a more compact manner in device tree. Signed-off-by: Bharata B Rao <bhar...@linux.vnet.ibm.com> --- v2 - https://lists.nongnu.org/archive/html/qemu-ppc/2018-04/msg00052.html Changes in v3: - Addressed David Gibson's

Re: [Qemu-devel] [PATCH for 2.13 v3 1/2] spapr: Add ibm, max-associativity-domains property

2018-04-13 Thread Bharata B Rao
. > > Signed-off-by: Serhii Popovych <spopo...@redhat.com> > --- > hw/ppc/spapr.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c > index a81570e..c05bbad 100644 > --- a/hw/ppc/spapr.c > +++ b/hw/ppc/spapr.c

Re: [Qemu-devel] [RFC PATCH v2] spapr: Support ibm, dynamic-memory-v2 property

2018-04-10 Thread Bharata B Rao
On Wed, Apr 11, 2018 at 02:45:58PM +1000, David Gibson wrote: > On Mon, Apr 09, 2018 at 11:55:38AM +0530, Bharata B Rao wrote: > > The new property ibm,dynamic-memory-v2 allows memory to be represented > > in a more compact manner in device tree. > > > > Signed-

Re: [Qemu-devel] [RFC PATCH v2] spapr: Support ibm, dynamic-memory-v2 property

2018-04-09 Thread Bharata B Rao
On Tue, Apr 10, 2018 at 01:02:45PM +1000, David Gibson wrote: > On Mon, Apr 09, 2018 at 11:55:38AM +0530, Bharata B Rao wrote: > > The new property ibm,dynamic-memory-v2 allows memory to be represented > > in a more compact manner in device tree. > > I still need to look a

[Qemu-devel] [RFC PATCH v2] spapr: Support ibm, dynamic-memory-v2 property

2018-04-09 Thread Bharata B Rao
The new property ibm,dynamic-memory-v2 allows memory to be represented in a more compact manner in device tree. Signed-off-by: Bharata B Rao <bhar...@linux.vnet.ibm.com> --- v1: https://lists.nongnu.org/archive/html/qemu-devel/2018-03/msg01788.html Changes in v1: - Minor cleanups in the

Re: [Qemu-devel] [PATCH for 2.13 1/2] Revert "spapr: Don't allow memory hotplug to memory less nodes"

2018-04-05 Thread Bharata B Rao
<spopo...@redhat.com> > --- > hw/ppc/spapr.c | 22 -- > 1 file changed, 22 deletions(-) > > diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c > index 2c0be8c..3ad4545 100644 > --- a/hw/ppc/spapr.c > +++ b/hw/ppc/spapr.c > @@ -3477,28 +3477,6 @

[Qemu-devel] Virito devices bridge vs Macvtap performance

2018-04-05 Thread Prakash B
ts are as mentioned above. Tried macvtap in bridge and passthru modes. Tell me if you need further investigations or more data . thanks, Prakash B

Re: [Qemu-devel] [PATCH v4 1/5] pc-dimm: make qmp_pc_dimm_device_list() sort devices by address

2018-03-07 Thread Bharata B Rao
ce tree property ibm,dynamic-memory-v2 at http://patchwork.ozlabs.org/patch/882387/ Reviewed-by: Bharata B Rao <bhar...@linux.vnet.ibm.com>

Re: [Qemu-devel] [edk2] [PATCH v2 2/8] SecurityPkg/Tcg2Pei: drop PeiReadOnlyVariable from Depex

2018-03-07 Thread Zhang, Chao B
o Ersek <ler...@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marc-André Lureau <marcandre.lur...@redhat.com> --- SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf | 1 - 1 file changed, 1 deletion(-) diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf b/SecurityPkg/Tcg/T

Re: [Qemu-devel] [PATCH v2 1/8] SecurityPkg: also clear HashInterfaceHob.SupportedHashMask

2018-03-07 Thread Zhang, Chao B
m>; stef...@linux.vnet.ibm.com; ler...@redhat.com; qemu-devel@nongnu.org; javi...@redhat.com; Marc-André Lureau <marcandre.lur...@redhat.com>; Zhang, Chao B <chao.b.zh...@intel.com>; Zeng, Star <star.z...@intel.com> Subject: [PATCH v2 1/8] SecurityPkg: also clear HashInterfaceHob.SupportedHas

[Qemu-devel] [RFC PATCH v1] spapr: Support ibm, dynamic-memory-v2 property

2018-03-06 Thread Bharata B Rao
The new property ibm,dynamic-memory-v2 allows memory to be represented in a more compact manner in device tree. Signed-off-by: Bharata B Rao <bhar...@linux.vnet.ibm.com> --- v0: http://lists.gnu.org/archive/html/qemu-ppc/2018-02/msg00236.html Changes in v1: - Rebased on top of Haozhong Z

  1   2   3   4   5   6   7   8   9   10   >