mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-07-16 14:17:16 +00:00
vfio_user: Add TODOs for missing functionality
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
10531f052b
commit
aa502b3e41
@ -872,6 +872,7 @@ impl Server {
|
||||
return Err(Error::UnsupportedCommand(header.command));
|
||||
}
|
||||
Command::Version => {
|
||||
// TODO: Make version/capabilities configurable
|
||||
let mut client_version = Version {
|
||||
header,
|
||||
..Default::default()
|
||||
@ -1009,6 +1010,7 @@ impl Server {
|
||||
..Default::default()
|
||||
},
|
||||
argsz: size_of::<DeviceGetInfo>() as u32,
|
||||
// TODO: Consider non-PCI devices
|
||||
flags: VFIO_DEVICE_FLAGS_PCI
|
||||
| if self.resettable {
|
||||
VFIO_DEVICE_FLAGS_RESET
|
||||
@ -1030,7 +1032,7 @@ impl Server {
|
||||
stream
|
||||
.read_exact(&mut cmd.as_mut_slice()[size_of::<Header>()..])
|
||||
.map_err(Error::StreamRead)?;
|
||||
|
||||
// TODO: Need to handle region capabilities e.g. sparse regions
|
||||
let reply = DeviceGetRegionInfo {
|
||||
header: Header {
|
||||
message_id: cmd.header.message_id,
|
||||
|
Loading…
Reference in New Issue
Block a user