-
-
Couldn't load subscription status.
- Fork 53
Labels
C: coreThis issue pertains to a Qubes core component.This issue pertains to a Qubes core component.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.r4.1-dom0-cur-test
Milestone
Description
Qubes OS version:
4.0-rc2
Steps to reproduce the behavior:
- Run "time qvm-ls"
Expected behavior:
The output should be shown instantly, with time spent under 100ms.
Actual behavior:
It takes more than 2 seconds on my machine.
General notes:
The current Qubes API design that requires a call for each property just doesn't work.
A single call should exist and be used to get all data for all VMs or for any set of VMs (including a single one).
Proposed design:
- Add the API calls to qubesd
- Whenever a property of a VM is requested, get all of the VM data and cache it
- Add a method to precache the properties of a set of VMs, change clients to use
- Add a method to discard all or a set of properties for a VM, change "dynamic" clients to use it
Metadata
Metadata
Assignees
Labels
C: coreThis issue pertains to a Qubes core component.This issue pertains to a Qubes core component.P: defaultPriority: default. Default priority for new issues, to be replaced given sufficient information.Priority: default. Default priority for new issues, to be replaced given sufficient information.r4.1-dom0-cur-test