[PATCH v4 0/4] hw/i386: QOM-attach CPUs/SGX-EPC objects to their parents

Philippe Mathieu-Daudé posted 4 patches 2 years, 2 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220205124526.500158-1-f4bug@amsat.org
hw/i386/sgx.c                 |   2 ++
hw/i386/x86.c                 |   1 +
tests/data/acpi/q35/VIOT.viot | Bin 112 -> 112 bytes
3 files changed, 3 insertions(+)
[PATCH v4 0/4] hw/i386: QOM-attach CPUs/SGX-EPC objects to their parents
Posted by Philippe Mathieu-Daudé 2 years, 2 months ago
Trying to fix the issue reported here:
https://lists.nongnu.org/archive/html/qemu-devel/2021-11/msg05670.html

First attach the CPUs and SGX-EPC objects to the machine.

Since v3:
- update VIOT ACPI table (Paolo)

Since v2:
- added missing QOM property auto-enum: [*] (Yang Zhong)

Since v1:
- addressed Paolo & Daniel review feedbacks

Philippe Mathieu-Daudé (4):
  tests/qtest/acpi: Temporary allow VIOT table changes
  hw/i386: Attach CPUs to machine
  tests/qtest/acpi: Update VIOT table blob
  hw/i386/sgx: Attach SGX-EPC objects to machine

 hw/i386/sgx.c                 |   2 ++
 hw/i386/x86.c                 |   1 +
 tests/data/acpi/q35/VIOT.viot | Bin 112 -> 112 bytes
 3 files changed, 3 insertions(+)

-- 
2.34.1

Re: [PATCH v4 0/4] hw/i386: QOM-attach CPUs/SGX-EPC objects to their parents
Posted by Philippe Mathieu-Daudé via 2 years, 2 months ago
On 5/2/22 13:45, Philippe Mathieu-Daudé wrote:
> Trying to fix the issue reported here:
> https://lists.nongnu.org/archive/html/qemu-devel/2021-11/msg05670.html
> 
> First attach the CPUs and SGX-EPC objects to the machine.
> 
> Since v3:
> - update VIOT ACPI table (Paolo)

This now works on Debian, but fails on OpenSUSE:
https://gitlab.com/philmd/qemu/-/jobs/2058210813

Any idea what is going on?