qemu/hw/i386/xen
Cédric Le Goater 639ec3fbf9 memory: Add Error** argument to the global_dirty_log routines
Now that the log_global*() handlers take an Error** parameter and
return a bool, do the same for memory_global_dirty_log_start() and
memory_global_dirty_log_stop(). The error is reported in the callers
for now and it will be propagated in the call stack in the next
changes.

To be noted a functional change in ram_init_bitmaps(), if the dirty
pages logger fails to start, there is no need to synchronize the dirty
pages bitmaps. colo_incoming_start_dirty_log() could be modified in a
similar way.

Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Anthony Perard <anthony.perard@citrix.com>
Cc: Paul Durrant <paul@xen.org>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hyman Huang <yong.huang@smartx.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Acked-by: Peter Xu <peterx@redhat.com>
Link: https://lore.kernel.org/r/20240320064911.545001-12-clg@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-04-23 18:36:01 -04:00
..
meson.build hw/i386/xen: Compile 'xen-hvm.c' with Xen CPPFLAGS 2024-03-09 18:51:45 +01:00
trace-events
trace.h
xen_apic.c apic, i386/tcg: add x2apic transitions 2024-02-14 06:09:32 -05:00
xen_platform.c hw/i386: Constify VMState 2023-12-29 11:17:30 +11:00
xen_pvdevice.c hw/i386: Constify VMState 2023-12-29 11:17:30 +11:00
xen-hvm.c memory: Add Error** argument to the global_dirty_log routines 2024-04-23 18:36:01 -04:00