Go to file
Marek Marczykowski-Górecki 45a28c29ae
Fix VM validity check for cached VM objects
Qubes().domains.refresh_cache() tries to preserve cached VM objects if
the class matches - this way if an application keeps reference to any,
it will still be the same as freshly obtained from the collection, and
also it will receive cache updates/invalidates based on events.

The check for class change was invalid - on core-admin-client side we
have just one QubesVM class with 'klass' attribute. This leads to VM
objects being disconnected from VMCollection and stale properties cache
there (because they no longer receive events).

Fix the check.

And also add a test if indeed the same object is returned.
2020-07-14 16:10:49 +02:00
ci Move pylint config to canonical place 2018-09-18 16:47:58 +02:00
debian debian: add guivm related content 2020-06-16 11:26:13 +02:00
doc Fix and improvements from Marek's comments 2020-03-28 17:33:03 +01:00
etc qvm-start-daemon: allow starting only if service enabled 2020-03-28 17:33:03 +01:00
qubesadmin Fix VM validity check for cached VM objects 2020-07-14 16:10:49 +02:00
rpm_spec rpm: ensure matching qubesd socket protocol version 2020-05-24 03:21:16 +02:00
scripts Move qvm-console from qubes-core-agent-linux 2020-01-21 22:37:40 +00:00
test-packages Rename qubesmgmt to qubesadmin module 2017-05-11 23:40:03 +02:00
.gitignore Makefile: add clean of pkgs and debian changelog.* 2020-06-16 17:09:07 +02:00
.pylintrc Make pylint happy 2019-10-05 21:57:48 +02:00
.travis.yml Drop Python2 support 2020-01-15 21:41:52 +01:00
LICENSE Initial commit 2017-03-01 23:48:53 +01:00
Makefile Makefile: add clean of pkgs and debian changelog.* 2020-06-16 17:09:07 +02:00
Makefile.builder debian: initial packaging 2017-05-20 03:15:23 +02:00
README.md Drop Python2 support 2020-01-15 21:41:52 +01:00
run-tests Drop Python2 support 2020-01-15 21:41:52 +01:00
setup.py Bump Python version requirement for qvm-* to 3.5 2019-02-12 02:17:38 +01:00
version version 4.1.6 2020-05-24 04:38:13 +02:00

This is client side implementation of Qubes Admin API. See https://www.qubes-os.org/doc/admin-api/ for protocol specification.

Compatibility

This package requires Python >= 3.5