mirror of
https://github.com/mbilker/vgpu_unlock-rs.git
synced 2025-06-08 13:28:23 +02:00
lib: noticed the QEMU PID was in the start request
This commit is contained in:
parent
b5578c8d69
commit
ba51d63cf2
@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user