hw/misc: fix trace-events
PATCH 1/1 hw/misc: fix trace-events
From: Marc-André Lureau <[email protected]>
The commit 8041d1730871 accidentally removed the vmlaunchupdate.c trace events.
--- hw/misc/trace-events | 6 ++++++ 1 file changed, 6 insertions(+)
hw/misc/trace-events +6 -0
@@ -446,3 +446,9 @@ iommu_testdev_dma_armed(bool armed) "armed=%d" # k230_decomp_gzip.c k230_decomp_gzip_read(uint64_t offset, unsigned int size, uint64_t value) "K230 DECOMP GZIP read: [0x%"PRIx64"] size %u -> 0x%"PRIx64 k230_decomp_gzip_write(uint64_t offset, unsigned int size, uint64_t value) "K230 DECOMP GZIP write: [0x%"PRIx64"] size %u <- 0x%"PRIx64 + +# vmlaunchupdate.c +launch_update_write(void) "" +vmlaunch_reset_enter(void) "" +vm_launchupdate_finalize(void) "" +restore_host_x86_igvm(void) ""
Signature · 1 line
2.55.0.543.g5ebe2ebe4ea8
Quoted 4 lines · On Tue, Aug 25, 2026 at 11:41:14AM +0400, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The commit
8041d1730871accidentally removed thevmlaunchupdate.ctrace events.
More importantly CI failed to report that build failure. IIUC, this is likely due to missing libigvm library. We have this available in Fedora at least, not sure about other distros, but we can add igvm to libvirt-ci and then to QEMU's deps list for CI.
Quoted 6 lines
Fixes 8041d1730871 ("tests/qtest: add test for K230 gsdma")Signed-off-by Marc-André Lureau <[email protected]>--- hw/misc/trace-events | 6 ++++++ 1 file changed, 6 insertions(+)
Quoted 19 lines
hw/misc/trace-events +6
-0@@ -446,3 +446,9 @@ iommu_testdev_dma_armed(bool armed) "armed=%d" # k230_decomp_gzip.c k230_decomp_gzip_read(uint64_t offset, unsigned int size, uint64_t value) "K230 DECOMP GZIP read: [0x%"PRIx64"] size %u -> 0x%"PRIx64 k230_decomp_gzip_write(uint64_t offset, unsigned int size, uint64_t value) "K230 DECOMP GZIP write: [0x%"PRIx64"] size %u <- 0x%"PRIx64 + +# vmlaunchupdate.c +launch_update_write(void) "" +vmlaunch_reset_enter(void) "" +vm_launchupdate_finalize(void) "" +restore_host_x86_igvm(void) ""Signature · 1 line
2.55.0.543.g5ebe2ebe4ea8
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
Quoted 10 lines · Daniel P. Berrangé
Quoted 4 lines · On Tue, Aug 25, 2026 at 11:41:14AM +0400, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The commit
8041d1730871accidentally removed thevmlaunchupdate.ctrace events.More importantly CI failed to report that build failure. IIUC, this is likely due to missing libigvm library. We have this available in Fedora at least, not sure about other distros, but we can add igvm to libvirt-ci and then to QEMU's deps list for CI.
Proposed the mapping addition which will let us build-test it:
https://gitlab.com/libvirt/libvirt-ci/-/merge_requests/583
With regards,
Daniel
Signature · 3 lines
|: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
Hi
Quoted 8 lines · Daniel P. Berrangé
Quoted 6 lines · Daniel P. Berrangé
Quoted 4 lines · On Tue, Aug 25, 2026 at 11:41:14AM +0400, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The commit
8041d1730871accidentally removed thevmlaunchupdate.ctrace events.
Quoted 8 lines
Quoted 4 lines
More importantly CI failed to report that build failure. IIUC, this is likely due to missing libigvm library. We have this available in Fedora at least, not sure about other distros, but we can add igvm to libvirt-ci and then to QEMU's deps list for CI.
Proposed the mapping addition which will let us build-test it:
thanks!
Quoted 29 lines · On Tue, Aug 25, 2026 at 11:41:14AM +0400, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The commit
8041d1730871accidentally removed thevmlaunchupdate.ctrace events.Fixes 8041d1730871 ("tests/qtest: add test for K230 gsdma")Signed-off-by Marc-André Lureau <[email protected]>---
hw/misc/trace-events | 6 ++++++1 file changed, 6 insertions(+)hw/misc/trace-events +0
-0@@ -446,3 +446,9 @@ iommu_testdev_dma_armed(bool armed) "armed=%d" # k230_decomp_gzip.c
k230_decomp_gzip_read(uint64_t offset, unsigned int size, uint64_t value)"K230 DECOMP GZIP read: [0x%"PRIx64"] size %u -> 0x%"PRIx64k230_decomp_gzip_write(uint64_t offset, unsigned int size, uint64_t value)"K230 DECOMP GZIP write: [0x%"PRIx64"] size %u <- 0x%"PRIx64hw/misc/trace-events +6
-0+ +# vmlaunchupdate.c +launch_update_write(void) "" +vmlaunch_reset_enter(void) "" +vm_launchupdate_finalize(void) "" +restore_host_x86_igvm(void) ""Signature · 1 line
2.55.0.543.g5ebe2ebe4ea8
Thanks!
Quoted 10 lines · On 25/8/26 09:41, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The commit
8041d1730871accidentally removed thevmlaunchupdate.ctrace events.Fixes 8041d1730871 ("tests/qtest: add test for K230 gsdma")Signed-off-by Marc-André Lureau <[email protected]>--- hw/misc/trace-events | 6 ++++++ 1 file changed, 6 insertions(+)
Quoted 16 lines · On 25/8/26 09:41, [email protected] wrote:
From: Marc-André Lureau <[email protected]>
The commit
8041d1730871accidentally removed thevmlaunchupdate.ctrace events.Fixes 8041d1730871 ("tests/qtest: add test for K230 gsdma")Signed-off-by Marc-André Lureau <[email protected]>--- hw/misc/trace-events | 6 ++++++ 1 file changed, 6 insertions(+)hw/misc/trace-events +0
-0
hw/misc/trace-events iommu_testdev_dma_armed(bool armed) "armed=%d" · line 454
Quoted 9 lines
hw/misc/trace-events +6
-0@@ -446,3 +446,9 @@ iommu_testdev_dma_armed(bool armed) "armed=%d" # k230_decomp_gzip.c k230_decomp_gzip_read(uint64_t offset, unsigned int size, uint64_t value) "K230 DECOMP GZIP read: [0x%"PRIx64"] size %u -> 0x%"PRIx64 k230_decomp_gzip_write(uint64_t offset, unsigned int size, uint64_t value) "K230 DECOMP GZIP write: [0x%"PRIx64"] size %u <- 0x%"PRIx64 + +# vmlaunchupdate.c +launch_update_write(void) "" +vmlaunch_reset_enter(void) "" +vm_launchupdate_finalize(void) "" +restore_host_x86_igvm(void) ""
Applying: hw/misc: fix trace-events
Patch failed at 0001 hw/misc: fix trace-events
error: patch failed: hw/misc/trace-events:446
error: hw/misc/trace-events: patch does not apply
already committed as 8fda982a7c083251635a2ce41dcc068ed0e5c124.