Displaying 10 results from an estimated 10 matches for "dom_info".
Did you mean:
dm_info
2011 Apr 18
7
[PATCH] tools: xl: on create, if debug && !daemonize, wait for domain destroy in the foreground
...ian.campbell@citrix.com>
diff -r 05abea47f4dc -r 31b98feb0eb6 tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Mon Apr 18 17:21:44 2011 +0100
+++ b/tools/libxl/xl_cmdimpl.c Mon Apr 18 17:23:51 2011 +0100
@@ -1354,7 +1354,7 @@ static int create_domain(struct domain_c
int migrate_fd = dom_info->migrate_fd;
int fd, i;
- int need_daemon = 1;
+ int need_daemon = daemonize;
int ret, rc;
libxl_waiter *w1 = NULL, *w2 = NULL;
void *config_data = 0;
@@ -1537,7 +1537,7 @@ start:
libxl_domain_unpause(ctx, domid);
ret = domid; /* caller gets success in...
2012 May 15
6
[PATCH 0 of 2 v2] Add vncviewer xm compatibility options
Changes since v1:
- Removed libxl vncviewer related dependencies
- The vncviewer function was modified to accept a domid instead of domspec;
- main_vncviewer was updated to reflect the new use.
- A domain_create structure is now passed to the parse_config_data where required/feasible (NULL otherwise)
- xl restore now have long options for vncviewer/vncviewer-autopass; docs updated.
- Updated
2012 Mar 20
5
[PATCH] Add vncviewer xm compatibility options the 'xl create' command
...har *config_file;
const char *extra_config; /* extra config string */
const char *restore_file;
@@ -3306,11 +3308,12 @@
int main_create(int argc, char **argv)
{
const char *filename = NULL;
+ char *dom = NULL;
char *p;
char extra_config[1024];
struct domain_create dom_info;
int paused = 0, debug = 0, daemonize = 1, console_autoconnect =
0,
- quiet = 0, monitor = 1;
+ quiet = 0, monitor = 1, vnc = 1, vncautopass = 1;
int opt, rc;
int option_index = 0;
static struct option long_options[] = {
@@ -3318,6 +3321,9 @@
{"quiet...
2015 Jul 24
0
virsh dominfo does not show correct cpuTime
...2.1.2
----- python script to capture cpu domain usage ----
import libvirt
import time
conn = libvirt.openReadOnly("qemu:///system")
dom = conn.lookupByName('cpu-test')
last_time = time.time()
last_cpu_time = dom.info()[4]
while True:
time.sleep(1)
this_time = time.time()
dom_info = dom.info()
print "CPU time: %s" % dom_info[4]
print "CPU util: %s%%" % ((dom_info[4] - last_cpu_time) / ((this_time -
last_time) * 10000000))
last_cpu_time = dom_info[4]
last_time = this_time
----------------------------- end -----------------------------
2015 Jul 24
0
Re: virsh dominfo does not show correct cpuTime
...--
> import libvirt
> import time
>
> conn = libvirt.openReadOnly("qemu:///system")
> dom = conn.lookupByName('cpu-test')
> last_time = time.time()
> last_cpu_time = dom.info()[4]
>
> while True:
> time.sleep(1)
> this_time = time.time()
> dom_info = dom.info()
>
> print "CPU time: %s" % dom_info[4]
> print "CPU util: %s%%" % ((dom_info[4] - last_cpu_time) / ((this_time -
> last_time) * 10000000))
>
> last_cpu_time = dom_info[4]
> last_time = this_time
> ----------------------------- end ---...
2011 Dec 16
13
[PATCH 0 of 4] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer
address in xenstore across save/restore and migrate, and also code to
increment the value in all cases except for migration.
Patch 1 modifies the guest ro and rw node creation to an open coding style
and cleans up some extraneous node creation.
Patch 2 modifies creation of the hvmloader key in xenstore and adds
2011 Dec 14
18
[PATCH 0 of 3] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer
address in xenstore across save/restore and migrate, and also code to
increment the value in all cases except for migration.
The first patch modifies creation of the hvmloader key in xenstore and adds
creation of a new read/write hvmloader/generation-id-addr key.
The second patch changes hvmloader to use the new key (as
2011 Dec 14
9
[PATCH 0 of 2] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID
buffer address in xenstore across save/restore and migrate, and also
code to increment the value in all cases except for migration.
The vast majority of the code is in second patch. The first patch
merely changes the xenstore key name used by hvmloader to store the
buffer address.
2011 Jun 02
48
[PATCH 0/9] libxl: disk configuration handling
This is v3 of my disk series. What were previously patches 01-06 have
been applied. These are the tested and updated remainder, addressing
the previous comments.
1 Preparatory work.
2-4 The new parser and its documentation.
5-6 Replace old parsers with calls to the new one.
7-8 Two features, one of them essential.
9 Basic test suite for disk string parsing, as adhoc script.
2012 Jul 04
53
[PATCH 00 of 10 v3] Automatic NUMA placement for xl
Hello,
Third version of the NUMA placement series Xen 4.2.
All the comments received during v2''s review have been addressed (more details
in single changelogs).
The most notable changes are the following:
- the libxl_cpumap --> libxl_bitmap renaming has been rebased on top of the
recent patches that allows us to allocate bitmaps of different sizes;
- the heuristics for deciding