search for: xc_domain_getinfo

Displaying 10 results from an estimated 10 matches for "xc_domain_getinfo".

2007 Feb 23
1
RE: [PATCH][TOOLS] Reducingimpactofdomainsave/restore/dump on Dom0
> Put the Linux definition in xc_linux.c. Put a default dummy > implementation > in xc_private.c with __attribute__ ((weak)). If you have only a > function > prototype in xc_private.h then you won''t need -D_GNU_SOURCE for > xcutil/Makefile. This wont quite work -- xc_private.c isn''t part of libxenguest which includes save/restore which needs the function...
2012 Nov 28
0
[PATCH v8 2/2] tools: XENMEM_claim_pages (subop of existing) hypercall
...nheimer <dan.magenheimer@oracle.com> xc_domain.c | 1 + xenctrl.h | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c index d98e68b..6d06f7c 100644 --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -234,6 +234,7 @@ int xc_domain_getinfo(xc_interface *xch, info->ssidref = domctl.u.getdomaininfo.ssidref; info->nr_pages = domctl.u.getdomaininfo.tot_pages; + info->nr_unclaimed_pages = domctl.u.getdomaininfo.unclaimed_pages; info->nr_shared_pages = domctl.u.getdomaininfo.shr_pages;...
2006 Jun 02
1
Re: [Xen-changelog] [xen-unstable] [IA64][HVM] Enable CGA acceleration for VTI.
...ga_bios_init(s); > return 0; > } > > diff -r 639ad22eb7c8 -r e67432187b88 tools/ioemu/vl.c > --- a/tools/ioemu/vl.c Fri Jun 02 09:15:51 2006 +0100 > +++ b/tools/ioemu/vl.c Fri Jun 02 09:20:58 2006 +0100 > @@ -2499,7 +2499,7 @@ int set_mm_mapping(int xc_handle, > xc_domain_getinfo(xc_handle, domid, 1, &info); > > if ( xc_domain_setmaxmem(xc_handle, domid, > - (info.nr_pages + nr_pages) * PAGE_SIZE/1024) != 0) > + info.max_memkb + nr_pages * PAGE_SIZE/1024) !=0) > { > fprintf(lo...
2007 Jan 11
0
[PATCH 6/8] HVM save restore: guest memory handling
...rc = xc_domain_memory_populate_physmap( + xc_handle, dom, max_pfn - 0xc0, 0, 0, &p2m[0xc0]); + if ( rc != 0 ) + { + PERROR("Could not allocate memory for HVM guest.\n"); + goto out; + } + + + /**********XXXXXXXXXXXXXXXX******************/ + if (xc_domain_getinfo(xc_handle, dom, 1, &info) != 1) { + ERROR("Could not get domain info"); + return 1; + } + + domctl.cmd = XEN_DOMCTL_getdomaininfo; + domctl.domain = (domid_t)dom; + if (xc_domctl(xc_handle, &domctl) < 0) { + ERROR("Could not get information...
2007 Mar 13
4
vmx status report against changeset 14356 - 1 new issue
Hi,All We have tested the latest xen on VT platform with Intel 915/E8500 chipset. Two platforms (PAE/32E) test all are based on SMP, It means that we boot up SMP guest OS in VMX. Here is the test summary: New issue (1) ================================================ 1) Fails to restore VMX guests http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=929 Issues List (3):
2012 Dec 13
3
[PATCH] xenconsoled: use grant references instead of map_foreign_range
...id enum_domains(void) xc_dominfo_t dominfo; struct domain *dom; + if (enum_pass == 0) { + xcg_handle = xc_gnttab_open(NULL, 0); + if (xcg_handle == NULL) { + dolog(LOG_DEBUG, "Failed to open xcg handle: %d (%s)", + errno, strerror(errno)); + } + } enum_pass++; while (xc_domain_getinfo(xc, domid, 1, &dominfo) == 1) { @@ -946,6 +974,7 @@ void handle_io(void) errno, strerror(errno)); goto out; } + log_hv_fd = create_hv_log(); if (log_hv_fd == -1) goto out; @@ -1097,6 +1126,10 @@ void handle_io(void) xc_evtchn_close(xce_handle); xce_handle = NULL...
2006 May 16
7
Unable to bring up Mini-OS on x86_64
I am getting the following error when I try to bring up Mini-OS on x86_64 Xen (unstable: 9994). It is dying in xc_linux_build() causing xend to fault and restart. Any clue why this happening? Has something changed in the builder that Mini-OS needs to be aware of? PS: I tried reverting changeset 9993 (Allow linking of mini-os with application-specific object code), but still got the same error
2012 Nov 15
1
[RFC/PATCH v4] XENMEM_claim_pages (subop of existing) hypercall
...e/xen/mm.h | 7 ++ xen/include/xen/sched.h | 1 13 files changed, 205 insertions(+), 8 deletions(-) diff --git a/tools/libxc/xc_domain.c b/tools/libxc/xc_domain.c index d98e68b..6d06f7c 100644 --- a/tools/libxc/xc_domain.c +++ b/tools/libxc/xc_domain.c @@ -234,6 +234,7 @@ int xc_domain_getinfo(xc_interface *xch, info->ssidref = domctl.u.getdomaininfo.ssidref; info->nr_pages = domctl.u.getdomaininfo.tot_pages; + info->nr_unclaimed_pages = domctl.u.getdomaininfo.unclaimed_pages; info->nr_shared_pages = domctl.u.getdomaininfo.shr_pages;...
2005 Aug 30
4
Re: [Xen-changelog] New console transport and update xenconsoled.
...omain(msg.u.control.remote_dom); >- buffer_append(&dom->buffer, >- msg.u.control.msg.msg, >- msg.u.control.msg.length); > } > } > >@@ -291,9 +421,12 @@ > { > int domid = 0; > xc_dominfo_t dominfo; >+ struct domain *dom; > > while (xc_domain_getinfo(xc, domid, 1, &dominfo) == 1) { >- lookup_domain(dominfo.domid); >+ dom = lookup_domain(dominfo.domid); >+ if (dominfo.dying || dominfo.crashed || dominfo.shutdown) >+ dom->is_dead = true; > domid = dominfo.domid + 1; > } > } >@@ -302,12 +435,11 @@ > { >...
2007 Jan 18
13
[PATCH 0/5] dump-core take 2:
The following dump-core patches changes its format into ELF, adds PFN-GMFN table, HVM support, and adds experimental IA64 support. - ELF format Program header and note section are adopted. - HVM domain support To know the memory area to dump, XENMEM_set_memory_map is added. XENMEM_memory_map hypercall is for current domain, so new one is created. and hvm domain builder tell xen its