Adding ifdefs to call the respective routines only when their configs are enabled
--- target/arm/kvm64.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
target/arm/kvm64.c +8 -4
@@ -1403,7 +1403,10 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)hwaddr paddr;Object *obj =qdev_get_machine ();VirtMachineState *vms =VIRT_MACHINE (obj); -bool acpi_enabled =virt_is_acpi_enabled (vms); +bool acpi_enabled = false; +#ifdef CONFIG_ARM_VIRT + acpi_enabled =virt_is_acpi_enabled (vms); +#endif /* CONFIG_ARM_VIRT */ assert (code ==BUS_MCEERR_AR || code ==BUS_MCEERR_AO );
@@ -1426,12 +1429,13 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)*/ if (code ==BUS_MCEERR_AR ) {kvm_cpu_synchronize_state (c); -if (!acpi_ghes_record_errors (ACPI_HEST_SRC_ID_SEA , paddr)) { -kvm_inject_arm_sea (c); - }else { +#ifdef CONFIG_ACPI_APEI +if (acpi_ghes_record_errors (ACPI_HEST_SRC_ID_SEA , paddr)) {error_report ("failed to record the error" );abort (); } +#endif /* CONFIG_ACPI_APEI */ +kvm_inject_arm_sea (c); }return ; }
Signature · 1 line
2.25.1
Quoted 4 lines · Swetha Joshi
Signed-off-by Swetha Joshi <[email protected]>--- target/arm/kvm64.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
You're still missing the commit message.
Quoted 22 lines
target/arm/kvm64.c +4
-2@@ -1403,7 +1403,10 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)hwaddr paddr;Object *obj =qdev_get_machine ();VirtMachineState *vms =VIRT_MACHINE (obj); -bool acpi_enabled =virt_is_acpi_enabled (vms); +bool acpi_enabled = false; +#ifdef CONFIG_ARM_VIRT + acpi_enabled =virt_is_acpi_enabled (vms); +#endif /* CONFIG_ARM_VIRT */ assert (code ==BUS_MCEERR_AR || code ==BUS_MCEERR_AO );@@ -1426,12 +1429,13 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)*/ if (code ==BUS_MCEERR_AR ) {kvm_cpu_synchronize_state (c); -if (!acpi_ghes_record_errors (ACPI_HEST_SRC_ID_SEA , paddr)) {
target/arm/kvm64.c void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr) · line 1439
Quoted 10 lines
target/arm/kvm64.c +4
-2-kvm_inject_arm_sea (c); - }else { +#ifdef CONFIG_ACPI_APEI +if (acpi_ghes_record_errors (ACPI_HEST_SRC_ID_SEA , paddr)) {error_report ("failed to record the error" );abort (); } +#endif /* CONFIG_ACPI_APEI */ +kvm_inject_arm_sea (c); }
Otherwise the actual patch looks ok.
I'm a bit surprised that you need the second hunk. I would have expected the entire block to be optimized away with the 'acpi_enabled = false' being propagated into the outermost IF.
r~
A message that is not in the archive (sent off-list or not yet received): CALf2nmKjSB0FN1ZotYjLKF+BBsWiwLPUDjkNeRgq1HkG4P=Aow@mail.gmail.com
Quoted 1 line · Swetha Joshi
Where do I add the commit message?
When you use git commit?
Quoted 1 line
About the outer if, so if
config_arm_virtwas enabled and ifacpi_enabledIs true, we still need to make sureconfig_acpi_apeiwas enabled as well.
Done in hw/arm/Kconfig:
config ARM_VIRT
...
select ACPI_APEI
r~
Quoted 9 lines · Richard Henderson
Quoted 4 lines · Swetha Joshi
Signed-off-by Swetha Joshi <[email protected]>---
target/arm/kvm64.c| 12 ++++++++----1 file changed, 8 insertions(+), 4 deletions(-)You're still missing the commit message.
Quoted 1 line
Quoted 11 lines
target/arm/kvm64.c void kvm_arch_on_sigbus_vcpu(CPUState *c, int · line 1407
Quoted 11 lines
target/arm/kvm64.c +1
-1@@ -1403,7 +1403,10 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr) hwaddr paddr; Object *obj = qdev_get_machine(); VirtMachineState *vms = VIRT_MACHINE(obj); - bool acpi_enabled = virt_is_acpi_enabled(vms); + bool acpi_enabled = false;
Oh, IIUC this is an user request to build QEMU *with* KVM but *without* the Virt machine? Presumably sbsa-ref or Xilinx Versal/ZynqMP?
Interesting, I never tested that config. Swetha, do you mind providing more information on the use case?
Thanks,
Phil.
Quoted 32 lines
Quoted 14 lines
target/arm/kvm64.c +3
-0+#ifdef CONFIG_ARM_VIRT + acpi_enabled = virt_is_acpi_enabled(vms); +#endif /* CONFIG_ARM_VIRT */ assert(code == BUS_MCEERR_AR || code == BUS_MCEERR_AO); @@ -1426,12 +1429,13 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c,int code, void *addr)
*/
if (code ==BUS_MCEERR_AR) {kvm_cpu_synchronize_state(c);
- if (!acpi_ghes_record_errors(ACPI_HEST_SRC_ID_SEA, paddr)) {
-kvm_inject_arm_sea(c);
- } else {
+#ifdefCONFIG_ACPI_APEIQuoted 8 lines
+ if (
acpi_ghes_record_errors(ACPI_HEST_SRC_ID_SEA, paddr)) {
error_report("failed to record the error");abort();
}
+#endif /*CONFIG_ACPI_APEI*/
+kvm_inject_arm_sea(c);
}Otherwise the actual patch looks ok.
I'm a bit surprised that you need the second hunk. I would have expected the entire block to be optimized away with the '
acpi_enabled= false' being propagated into the outermost IF.r~
Quoted 35 lines · Richard Henderson
Quoted 4 lines · Swetha Joshi
Signed-off-by Swetha Joshi <[email protected]>--- target/arm/kvm64.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)You're still missing the commit message.
Quoted 26 lines
target/arm/kvm64.c +6
-4@@ -1403,7 +1403,10 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)hwaddr paddr;Object *obj =qdev_get_machine ();VirtMachineState *vms =VIRT_MACHINE (obj); -bool acpi_enabled =virt_is_acpi_enabled (vms); +bool acpi_enabled = false; +#ifdef CONFIG_ARM_VIRT + acpi_enabled =virt_is_acpi_enabled (vms); +#endif /* CONFIG_ARM_VIRT */ assert (code ==BUS_MCEERR_AR || code ==BUS_MCEERR_AO );@@ -1426,12 +1429,13 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)*/ if (code ==BUS_MCEERR_AR ) {kvm_cpu_synchronize_state (c); -if (!acpi_ghes_record_errors (ACPI_HEST_SRC_ID_SEA , paddr)) { -kvm_inject_arm_sea (c); - }else { +#ifdef CONFIG_ACPI_APEI +if (acpi_ghes_record_errors (ACPI_HEST_SRC_ID_SEA , paddr)) {
Quoted 8 lines
target/arm/kvm64.c void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr) · line 1439
Quoted 6 lines
target/arm/kvm64.c +2
-0error_report ("failed to record the error" ); abort(); } +#endif /* CONFIG_ACPI_APEI */ +kvm_inject_arm_sea (c); }Otherwise the actual patch looks ok.
I feel like the underlying problem here is that we let a virt-board-specific bit of code slip into what should be generic Arm/KVM code here. We do need to know "does the board actually have an ACPI table we can record the memory error into", but that shouldn't be a specific query to virt board code. I think (but have not tested) that a nicer solution would look like:
bool acpi_ghes_present(void)
{
return object_resolve_path_type("", TYPE_ACPI_GED, NULL) != NULL;
}in hw/acpi/ghes.c, and then using that function instead of virt_is_acpi_enabled().
That avoids the CONFIG_ARM_VIRT specific reference and the need for ifdefs, and means that any future Arm board that wants to can support memory errors via ACPI tables by creating the ACPI_GED device and setting up the ACPI tables as virt does.
(You will also need: a stub "return false" version in a new ghes-stub.c file, in an if_false clause in the meson.build line for ghes.c similar to the way ipmi.c/ipmi-stub.c are done; a prototype in include/hw/acpi/ghes.h with a doc-comment block documenting the function; possibly to add a stub for acpi_ghes_record_errors() in the new ghes-stub.c.)
thanks
-- PMM
Hey Peter, Phil,
Yeah like Peter mentioned, when KVM is enabled and we don't want VIRT enabled, there are a couple of routines that are being called from virt.h and ghes.h, which is resulting in errors. I came up with this simple fix but if you think there is a better solution to it I'll let you/ other developers who own it decide and fix it because I don't have much experience or visibility into what happens internally, my knowledge is restricted to just using the configs.
Thank you for the feedback.
Quoted 80 lines · Peter Maydell
Quoted 7 lines · Richard Henderson
Quoted 4 lines · Swetha Joshi
Signed-off-by Swetha Joshi <[email protected]>--- target/arm/kvm64.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)Quoted 8 lines
You're still missing the commit message.
target/arm/kvm64.c void kvm_arch_on_sigbus_vcpu(CPUState *c, int
Quoted 6 lines
target/arm/kvm64.c +0
-0@@ -1403,7 +1403,10 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, intcode, void *addr)
Quoted 9 lines
Quoted 9 lines
target/arm/kvm64.c +4
-1hwaddr paddr;Object *obj =qdev_get_machine ();VirtMachineState *vms =VIRT_MACHINE (obj); -bool acpi_enabled =virt_is_acpi_enabled (vms); +bool acpi_enabled = false; +#ifdef CONFIG_ARM_VIRT + acpi_enabled =virt_is_acpi_enabled (vms); +#endif /* CONFIG_ARM_VIRT */ Quoted 3 lines
target/arm/kvm64.c void kvm_arch_on_sigbus_vcpu(CPUState *c, int
Quoted 3 lines
target/arm/kvm64.c +0
-0assert (code ==BUS_MCEERR_AR || code ==BUS_MCEERR_AO );@@ -1426,12 +1429,13 @@ void kvm_arch_on_sigbus_vcpu(CPUState *c, intcode, void *addr)
Quoted 4 lines
target/arm/kvm64.c void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)
Quoted 4 lines
target/arm/kvm64.c +0
-1*/ if (code ==BUS_MCEERR_AR ) {kvm_cpu_synchronize_state (c); - if (!acpi_ghes_record_errors(ACPI_HEST_SRC_ID_SEA,paddr)) {
Quoted 4 lines
target/arm/kvm64.c void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr)
Quoted 4 lines
target/arm/kvm64.c +2
-2-kvm_inject_arm_sea (c); - }else { +#ifdef CONFIG_ACPI_APEI + if (acpi_ghes_record_errors(ACPI_HEST_SRC_ID_SEA,paddr)) {
Quoted 8 lines
target/arm/kvm64.c void kvm_arch_on_sigbus_vcpu(CPUState *c, int code, void *addr) · line 1439
Quoted 6 lines
target/arm/kvm64.c +2
-0error_report ("failed to record the error" ); abort(); } +#endif /* CONFIG_ACPI_APEI */ +kvm_inject_arm_sea (c); }Otherwise the actual patch looks ok.
I feel like the underlying problem here is that we let a virt-board-specific
bit of code slip into what should be generic Arm/KVM code here. We do need to know "does the board actually have an ACPI table we can record the memory error into", but that shouldn't be a specific query to virt board code. I think (but have not tested) that a nicer solution would look like:bool
acpi_ghes_present(void){ return object_resolve_path_type("", TYPE_ACPI_GED, NULL) != NULL; }in
hw/acpi/ghes.c, and then using that function instead ofvirt_is_acpi_enabled().That avoids the
CONFIG_ARM_VIRTspecific reference and the need for ifdefs, and means that any future Arm board that wants to can support memory errors via ACPI tables by creating theACPI_GEDdevice and setting up the ACPI tables as virt does.(You will also need: a stub "return false" version in a new
ghes-stub.cfile,
in anif_falseclause in the meson.build line forghes.csimilar to the wayipmi.c/ipmi-stub.care done; a prototype ininclude/hw/acpi/ghes.hwith a doc-comment block documenting the function; possibly to add a stub foracpi_ghes_record_errors()in the newghes-stub.c.)thanks
-- PMM
Signature · 3 lines
Regards Swetha Joshi.
Quoted 4 lines · Swetha Joshi
Hey Peter, Phil,
Yeah like Peter mentioned, when KVM is enabled and we don't want VIRT enabled, there are a couple of routines that are being called from
virt.handghes.h, which is resulting in errors. I came up with this simple fix but if you think there is a better solution to it I'll let you/ other developers who own it decide and fix it because I don't have much experience or visibility into what happens internally, my knowledge is restricted to just using the configs.
Well, QEMU builds fine for me as-is, because the default config always enables the virt board. Do you have repro instructions for reproducing the build failure ?
thanks
-- PMM
Hello,
One of the qemu machines we use has KVM enabled, but we don't want the CONFIG_ARM_VIRT enabled as it pulls in emulation of a variety of physical hardware that we don't need. The compilation errors I mentioned are not in the qemu mainline per say but we see them in one of the qemu derived machines we use.
Thanks,
Swetha.
Quoted 20 lines · Peter Maydell
Quoted 4 lines · Swetha Joshi
Hey Peter, Phil,
Yeah like Peter mentioned, when KVM is enabled and we don't want VIRT
enabled, there are a couple of routines that are being called from
virt.handghes.h, which is resulting in errors. I came up with this simple fix but if you think there is a better solution to it I'll let you/ other developers who own it decide and fix it because I don't have much experience or visibility into what happens internally, my knowledge is restricted to just using the configs.Well, QEMU builds fine for me as-is, because the default config always enables the virt board. Do you have repro instructions for reproducing the build failure ?
thanks
-- PMM
Signature · 3 lines
Regards Swetha Joshi.
Quoted 4 lines · Swetha Joshi
Hello,
One of the qemu machines we use has KVM enabled, but we don't want the
CONFIG_ARM_VIRTenabled as it pulls in emulation of a variety of physical hardware that we don't need. The compilation errors I mentioned are not in the qemu mainline per say but we see them in one of the qemu derived machines we use.
Sure, but unless you can give me a recipe for reproducing the build failure in mainline I can't really help...
thanks
-- PMM
Quoted 9 lines · Peter Maydell <[email protected]> 于2021年5月27日周四 上午2:19写道:
Quoted 4 lines · Swetha Joshi
Hello,
One of the qemu machines we use has KVM enabled, but we don't want the
CONFIG_ARM_VIRTenabled as it pulls in emulation of a variety of physical hardware that we don't need. The compilation errors I mentioned are not in the qemu mainline per say but we see them in one of the qemu derived machines we use.Sure, but unless you can give me a recipe for reproducing the build failure in mainline I can't really help...
Hi Swetha,
Yes, Can you give a method that how to reproduce the build
failure issues? Thanks
Quoted 3 lines
thanks
-- PMM
I apologize for the delay, here are the repro steps:
1. Remove CONFIG_ARM_VIRT=y from arm-softmmu.mak
2. In .gitlab-ci.yml, crossbuild.yml and in tests/vm/Makefile.include, in all the places where we disable kvm using -disable-kvm, replace this with -enable-kvm
3. Build
You should see errors pointing to these routines: virt_is_acpi_enabled, acpi_ghes_record_errors
Thanks,
Swetha.
Quoted 24 lines · Dongjiu Geng
Quoted 2 lines · Peter Maydell <[email protected]> 于2021年5月27日周四 上午2:19写道:
On Wed, 26 May 2021 at 18:32, Swetha Joshi <[email protected]>
Quoted 4 lines · wrote:
Quoted 4 lines
Hello,
One of the qemu machines we use has KVM enabled, but we don't want the
CONFIG_ARM_VIRTenabled as it pulls in emulation of a variety of physical hardware that we don't need. The compilation errors I mentioned are not in the qemu mainline per say but we see them in one of the qemu derived machines we use.Quoted 3 lines
Sure, but unless you can give me a recipe for reproducing the build failure in mainline I can't really help...
Hi Swetha,
Yes, Can you give a method that how to reproduce the build
failure issues? ThanksQuoted 3 lines
thanks
-- PMM
Signature · 3 lines
Regards Swetha Joshi.
Quoted 5 lines · Swetha Joshi <[email protected]> 于2021年5月29日周六 上午3:41写道:
I apologize for the delay, here are the repro steps:
1. RemoveCONFIG_ARM_VIRT=yfrom arm-softmmu.mak
2. In .gitlab-ci.yml, crossbuild.yml and in tests/vm/Makefile.include, in all the places where we disable kvm using -disable-kvm, replace this with -enable-kvm
3. Build
According to your steps, I can not see such errors,also your change is odd. I suggested you do not this change until you indeed encounter errors
(quoted diff) +0 -0
b/default-configs/devices/arm-softmmu.mak
index 0500156a0c..f47ab0f3b1 100644
default-configs/devices/arm-softmmu.mak +0 -1
@@ -6,7 +6,6 @@ CONFIG_ARM_V7M=y # CONFIG_PCI_DEVICES=n # CONFIG_TEST_DEVICES=n -CONFIG_ARM_VIRT=y CONFIG_CUBIEBOARD=y CONFIG_EXYNOS4=y CONFIG_HIGHBANK=y
tests/vm/Makefile.include +1 -1
@@ -110,7 +110,7 @@ vm-build-%: $(IMAGES_DIR)/%.img " VM-BUILD $*") vm-boot-serial-%: $(IMAGES_DIR)/%.img - qemu-system-x86_64 -enable-kvm -m 4G -smp 2 -nographic \ + qemu-system-x86_64 -disable-kvm -m 4G -smp 2 -nographic \ -drive if=none,id=vblk,cache=writeback,file="$<" \ -netdev user,id=vnet \ -device virtio-blk-pci,drive=vblk \
Quoted 33 lines
You should see errors pointing to these routines:
virt_is_acpi_enabled,acpi_ghes_record_errorsThanks,
Swetha.Quoted 7 lines · Dongjiu Geng
Quoted 5 lines · Peter Maydell <[email protected]> 于2021年5月27日周四 上午2:19写道:
Quoted 3 lines · Swetha Joshi
Hello,
Quoted 12 lines
Quoted 4 lines
Quoted 1 line
One of the qemu machines we use has KVM enabled, but we don't want the
CONFIG_ARM_VIRTenabled as it pulls in emulation of a variety of physical hardware that we don't need. The compilation errors I mentioned are not in the qemu mainline per say but we see them in one of the qemu derived machines we use.Sure, but unless you can give me a recipe for reproducing the build failure in mainline I can't really help...
Hi Swetha,
Yes, Can you give a method that how to reproduce the build
failure issues? ThanksQuoted 3 lines
thanks
-- PMM--
RegardsSwetha Joshi.
Basically, you need to remove CONFIG_VIRT_ARM=y from arm-soft memu.mak and then enable KVM, I might have missed some places where you need to enable kvm.
Quoted 82 lines · Dongjiu Geng
Quoted 4 lines · Swetha Joshi <[email protected]> 于2021年5月29日周六 上午3:41写道:
I apologize for the delay, here are the repro steps:
1. RemoveCONFIG_ARM_VIRT=yfrom arm-softmmu.mak
2. In .gitlab-ci.yml, crossbuild.yml and in tests/vm/Makefile.include,in all the places where we disable kvm using -disable-kvm, replace this with -enable-kvm
Quoted 1 line
3. Build
According to your steps, I can not see such errors,also your change is odd. I suggested you do not this change until you indeed encounter errors
default-configs/devices/arm-softmmu.mak +0
-1@@ -6,7 +6,6 @@ CONFIG_ARM_V7M=y # CONFIG_PCI_DEVICES=n # CONFIG_TEST_DEVICES=n -CONFIG_ARM_VIRT=y CONFIG_CUBIEBOARD=y CONFIG_EXYNOS4=y CONFIG_HIGHBANK=ytests/vm/Makefile.include +1
-1@@ -110,7 +110,7 @@ vm-build-%: $(IMAGES_DIR)/%.img " VM-BUILD $*") vm-boot-serial-%: $(IMAGES_DIR)/%.img - qemu-system-x86_64 -enable-kvm -m 4G -smp 2 -nographic \ + qemu-system-x86_64 -disable-kvm -m 4G -smp 2 -nographic \ -drive if=none,id=vblk,cache=writeback,file="$<" \ -netdev user,id=vnet \ -device virtio-blk-pci,drive=vblk \Quoted 4 lines
You should see errors pointing to these routines:
virt_is_acpi_enabled,
acpi_ghes_record_errorsQuoted 5 lines
Thanks,
Swetha.On Fri, May 28, 2021 at 12:08 AM Dongjiu Geng <[email protected]>
Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 2 lines · Peter Maydell <[email protected]> 于2021年5月27日周四 上午2:19写道:
On Wed, 26 May 2021 at 18:32, Swetha Joshi <[email protected]>
Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Hello,
One of the qemu machines we use has KVM enabled, but we don't want
the
CONFIG_ARM_VIRTenabled as it pulls in emulation of a variety of physical hardware that we don't need. The compilation errors I mentioned are not in the qemu mainline per say but we see them in one of the qemu derived machines we use.Quoted 18 lines
Quoted 11 lines
Quoted 3 lines
Sure, but unless you can give me a recipe for reproducing the build failure in mainline I can't really help...
Hi Swetha,
Yes, Can you give a method that how to reproduce the build
failure issues? ThanksQuoted 3 lines
thanks
-- PMM--
RegardsSwetha Joshi.
Signature · 3 lines
Regards Swetha Joshi.
Quoted 5 lines · Swetha Joshi
I apologize for the delay, here are the repro steps:
1. RemoveCONFIG_ARM_VIRT=yfrom arm-softmmu.mak
2. In .gitlab-ci.yml, crossbuild.yml and in tests/vm/Makefile.include, in all the places where we disable kvm using -disable-kvm, replace this with -enable-kvm
3. Build
Thanks; I reproduced the link errors and have sent a patchset that I hope fixes this:
https://patchew.org/QEMU/[email protected]/
If you could test that it works for you that would be great.
-- PMM
Oh okay, thank you. I will test this by eod today!
Quoted 18 lines · Peter Maydell
Quoted 4 lines · Swetha Joshi
I apologize for the delay, here are the repro steps:
1. RemoveCONFIG_ARM_VIRT=yfrom arm-softmmu.mak
2. In .gitlab-ci.yml, crossbuild.yml and in tests/vm/Makefile.include,in all the places where we disable kvm using -disable-kvm, replace this with -enable-kvm
Quoted 1 line
3. Build
Thanks; I reproduced the link errors and have sent a patchset that I hope fixes this:
https://patchew.org/QEMU/[email protected]/If you could test that it works for you that would be great.
-- PMM
Signature · 3 lines
Regards Swetha Joshi.
Hello, I have tested this patch with our qemu and it works, thank you.
What are the next steps for this patch? So is it approved and ready to go in mainline?
Thanks,
Swetha.
Quoted 30 lines · Swetha Joshi
Oh okay, thank you. I will test this by eod today!
Quoted 10 lines · Peter Maydell
Quoted 4 lines · Swetha Joshi
I apologize for the delay, here are the repro steps:
1. RemoveCONFIG_ARM_VIRT=yfrom arm-softmmu.mak
2. In .gitlab-ci.yml, crossbuild.yml and in tests/vm/Makefile.include,in all the places where we disable kvm using -disable-kvm, replace this with -enable-kvm
Quoted 1 line
3. Build
Quoted 8 lines
Thanks; I reproduced the link errors and have sent a patchset that I hope fixes this:
https://patchew.org/QEMU/[email protected]/If you could test that it works for you that would be great.
-- PMM
--
RegardsSwetha Joshi.
Signature · 3 lines
Regards Swetha Joshi.
Quoted 2 lines · Swetha Joshi
Hello, I have tested this patch with our qemu and it works, thank you.
Thanks for testing.
Quoted 1 line
What are the next steps for this patch? So is it approved and ready to go in mainline?
It will go in once it has been code-reviewed.
-- PMM
Can y oh I let me know once it goes in mainline? Thanks!
Quoted 14 lines · Peter Maydell
Quoted 2 lines · Swetha Joshi
Hello, I have tested this patch with our qemu and it works, thank you.
Thanks for testing.
Quoted 1 line
What are the next steps for this patch? So is it approved and ready to
go in mainline?
It will go in once it has been code-reviewed.
-- PMM
Signature · 3 lines
Regards Swetha Joshi.
Quoted 2 lines · Swetha Joshi
Can y oh I let me know once it goes in mainline? Thanks!
Sorry for having forgotten about this -- I was just clearing out some of my old email backlog and found your email again. You probably discovered this long ago, but this patchset to remove the dependency between arm kvm and the virt board went into mainline back in late June and was in the 6.1 release.
thanks
-- PMM