From: Vincent Hanquez Date: Thu, 30 Jul 2009 14:17:28 +0000 (+0100) Subject: start device model in pv case to have vfb device X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3f66147484bad289a1c2e9c21a3326b7224b54db;p=xenclient%2Ftoolstack.git start device model in pv case to have vfb device --- diff --git a/xenvm/vmact.ml b/xenvm/vmact.ml index 940978d..fc4a446 100644 --- a/xenvm/vmact.ml +++ b/xenvm/vmact.ml @@ -275,8 +275,8 @@ let add_devices xc xs domid state restore = Device.Vfb.add ~xc ~xs ~hvm:cfg.hvm domid ); - (* add device model *) - if cfg.hvm then ( + if cfg.hvm || cfg.vnc <> (-1) then ( + (* add device model *) let dmpath = "/opt/xensource/libexec/qemu-dm-wrapper" in let dmstart = if restore then Device.Dm.restore else Device.Dm.start in