qemu_get_buffer_at() reads data *into* buf -- it should not be const. Drop the qualifier and remove the now-unnecessary cast. Signed-off-by: Junjie Cao <junjie.cao@intel.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Xu <peterx@redhat.com> Link: https://lore.kernel.org/qemu-devel/20260420201317.30199-4-junjie.cao@intel.com Signed-off-by: Fabiano Rosas <farosas@suse.de>
3.3 KiB
3.3 KiB