-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Mon, Jul 18, 2016 at 12:31:00AM +0000, HW42 wrote:
> HW42:
> > Hi,
> >
> > since commit 7e9c816b (included since qubes-core-dom0 3.2.5)
> > QubesWatch._register_watches() is called twice for dom0 [0]. This
> > uncovered that _register_watches() does not handle multiple calls for
> > dom0 correctly (see commit message for details). This leads to (at
> > least) two bugs in qubes-manager:
> >
> > 1) qubes-manager misses when a block device becomes available during
> > runtime of qubes-manager so no notification is shown and you cannot
> > attached it through the GUI.
> >
> > 2) qubes-manager misses the qrexec startup when a VM is started
> > externaly (e.g. qvm-start ...). Therefore it thinks qrexec does not
> > run and for example "Run Command in VM" hangs.
>
> This is seems to be #2178. I observed both hanging after trying to run a
> command in a VM through the GUI as well as the "qrexec not running"
> error message as described in the ticket.
Yes, indeed, thanks!
> > While debugging two things in QubesWatch.__init__ raised my attention:
> >
> > 1) Is _register_watches() intentionally called a second time in L711 for
> > dom0? (Might be a preparation for not Xen based libvirt backends)
It depends on libvirt version. Earlier ones do not have domain object
dom0. And as you've said, other drivers in the future may also not list
it.
> > 2) L708 should be a 'continue', right?
Yes, or rather there should be "else:".
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJXjNReAAoJENuP0xzK19csWZ4IAJCiTgRN1Ogh0mNQEnZMlhEC
0tj2u0JcNrbU56q8U5zEkmn3jmn6XWt5fW0oyJjsHlU9w69Mp1Idb6tUx216Ce9J
G7IkVaTgOv1d8t1tHaxgtcDDp6vSw0wBWfp9m+SYKL6gV3/ky0EypjPhMUhe/SGN
grTUtmOJ7c7S85Ty3uOesHwv7ZlUHdeAB3nQeVGwhYpBLg/wM0s6nPuX5j6/qtoq
6UiHdWxzUvwv/LY9ZiR+nDwwE+9mTwPuM+r19BDgZT/lhwadNM08M8n9C8pf3uSr
iFPe4FZdQQc5p9LVEzxfT9eLsvxTrN4i+67RnoItiYmXH9YF9FF1+f1pAYISqI0=
=DcY1
-----END PGP SIGNATURE-----