lib: noticed the QEMU PID was in the start request

This commit is contained in:
Matt Bilker 2022-08-24 12:33:19 +00:00
parent b5578c8d69
commit ba51d63cf2
No known key found for this signature in database
GPG Key ID: 69ADF8AEB6C8B5D1

View File

@ -161,7 +161,8 @@ impl fmt::Display for Uuid {
struct VgpuStart { struct VgpuStart {
uuid: Uuid, uuid: Uuid,
config_params: [u8; 1024], config_params: [u8; 1024],
unknown_410: [u8; 16], qemu_pid: u32,
unknown_414: [u8; 12],
} }
#[repr(C)] #[repr(C)]
@ -241,7 +242,8 @@ impl fmt::Debug for VgpuStart {
f.debug_struct("VgpuStart") f.debug_struct("VgpuStart")
.field("uuid", &format_args!("{{{}}}", self.uuid)) .field("uuid", &format_args!("{{{}}}", self.uuid))
.field("config_params", &CStrFormat(&self.config_params)) .field("config_params", &CStrFormat(&self.config_params))
.field("unknown_410", &StraightFormat(&self.unknown_410)) .field("qemu_pid", &self.qemu_pid)
.field("unknown_414", &StraightFormat(&self.unknown_414))
.finish() .finish()
} }
} }