qemu-display: misc improvements

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2024-04-09 18:52:21 +04:00
parent 3e2bb7985c
commit 29926a8df0
2 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,7 @@ impl<'d> Display<'d> {
{
// FIXME: no ancillary fd API at this point
// https://github.com/rust-lang/rust/issues/76915
let _ = p0;
qmp.execute(&qmp::getfd {
fdname: "fdname".into(),
})?;

View File

@ -76,6 +76,9 @@ async fn display_from_opt(opt: Arc<RefCell<AppOptions>>) -> Option<Display<'stat
.unwrap()
.map(Into::into)
} else {
if opt.borrow().wait {
unimplemented!(); // FIXME
}
BusName::try_from("org.qemu").ok()
};