cpu specific fields in getdomaininfo
I'd like to know what you're recommendations are for cpu_time, processor, and per-exec_domain flags.
Quoted 1 line
From my usage standpoint,
cpu_timeshould be the highest of all of the
vcpus, PAUSED and BLOCKED should be the logical AND of all the vcpus and RUNNING should be the logical OR of all of the vcpus, processor should simply be moved to getvcpucontext or be made into separate field along the lines of the bitmask discussed previously.
Thanks.
-Kip
Quoted 5 lines · Kip Macy
Quoted 1 line
From my usage standpoint,
cpu_timeshould be the highest of all of thevcpus, PAUSED and BLOCKED should be the logical AND of all the vcpus and RUNNING should be the logical OR of all of the vcpus, processor should simply be moved to getvcpucontext or be made into separate field along the lines of the bitmask discussed previously.
None of these fields make much sense to aggregate and ought probably to disappear from GETDOMAININFO. Possibly cpu_time should be the *sum* of all individual vcpu times. I think your method aggregating paused/blocked/running is probably the sanest.
-- Keir