Displaying 20 results from an estimated 33 matches for "create_domain".
2013 Sep 23
7
Failed to create PVHVM domU in Xen 4.4
...on_reboot = ''restart''
on_crash = ''restart''
sdl=0
vnc=1
vncpasswd=''''
stdvga=0
serial=''pty''
usb=1
usbdevice=''tablet''
keymap=''en''
#####################
Error message:
xl: xl_cmdimpl.c:1989: create_domain: Assertion `domid == ~0'' failed.
Aborted (core dumped)
Any idea?
Thanks !
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
2010 Aug 03
1
[PATCH] libxl: free values in XLU_ConfigSetting
...(libxlu_cfg.c:290)
==21170== by 0x402F3C4: xlu__cfg_yylex (libxlu_cfg_l.l:37)
==21170== by 0x402DD86: xlu__cfg_yyparse (libxlu_cfg_y.c:1338)
==21170== by 0x40308AE: xlu_cfg_readdata (libxlu_cfg.c:85)
==21170== by 0x804DBE4: parse_config_data (xl_cmdimpl.c:591)
==21170== by 0x8056EE4: create_domain (xl_cmdimpl.c:1381)
==21170== by 0x80582AE: main_create (xl_cmdimpl.c:3178)
==21170== by 0x804B54B: main (xl.c:76)
==21170==
==21170== 57 bytes in 2 blocks are definitely lost in loss record 2 of 3
==21170== at 0x4022F0A: malloc (vg_replace_malloc.c:236)
==21170== by 0x402FE22: xlu__cfg...
2012 Aug 02
4
[problem in `xl_cmdimpl.c`] Why pid return by fork() in parent process is not the same with pid returned by getpid()?
Hi all,
In xen-4.1.2/tools/libxl/xl_cmdimpl.c : create_domain(), it starts up a
child daemon process waiting for the domain death,
there are several lines echo the child pid as follows:
1592 if (child1) { /*it''s in the
parent*/
1593 printf("Daemon running with PID %d\n", child1);
/**it...
2012 Mar 20
5
[PATCH] Add vncviewer xm compatibility options the 'xl create' command
...#39; not supported.\n", optopt);
break;
@@ -3391,12 +3403,40 @@
dom_info.migrate_fd = -1;
dom_info.console_autoconnect = console_autoconnect;
dom_info.incr_generationid = 0;
+ dom_info.vncviewer = vnc;
+ dom_info.vncviewer_autopass = vncautopass;
+
rc = create_domain(&dom_info);
if (rc < 0)
return -rc;
- return 0;
+ if (vnc && dryrun) {
+ printf("vncviewer not being executed for a dryrun\n");
+ goto out;
+ }
+
+ if (vnc) {
+ dom = libxl_domid_to_name(&ctx, rc);
+ if (dom) {
+...
2014 Nov 06
0
Bug#767295: Bug#767295: xl: apparent memory leak
...== by 0x408D2A6: libxl__bootloader_run (libxl_bootloader.c:385)
==5722== by 0x406B50C: initiate_domain_create (libxl_create.c:807)
==5722== by 0x406B50C: do_domain_create (libxl_create.c:1354)
==5722== by 0x406B6AF: libxl_domain_create_new (libxl_create.c:1377)
==5722== by 0x8056182: create_domain (xl_cmdimpl.c:2254)
==5722== by 0x8059F27: main_create (xl_cmdimpl.c:4407)
==5722== by 0x804E119: main (xl.c:360)
==5722==
==5722== 28 bytes in 1 blocks are definitely lost in loss record 39 of 72
==5722== at 0x4026B2D: malloc (vg_replace_malloc.c:299)
==5722== by 0x4279EBB: read_messa...
2011 Apr 18
7
[PATCH] tools: xl: on create, if debug && !daemonize, wait for domain destroy in the foreground
...iour I would like.
Signed-off-by: Ian Campbell <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)...
2012 May 15
6
[PATCH 0 of 2 v2] Add vncviewer xm compatibility options
...nstead 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 vnc logic to depend on create_domain
tools/libxl/xl_cmdimpl.c | 50 ++++++++++++++++---------------
docs/man/xl.cfg.pod.5 | 4 ++
docs/man/xl.pod.1 | 18 +++++++++++
tools/libxl/xl_cmdimpl.c | 73 ++++++++++++++++++++++++++++++++++++++--------
tools/libxl/xl_cmdtable.c | 15 ++++++---
5 files changed, 118 inserti...
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
* Introduce new variants of the logging functions which include
errno values (converted using strerror) in the messages passed to the
application''s logging callback.
* Use the new errno-including logging functions everywhere where
appropriate. In general, xc_... functions return errno values or 0;
xs_... functions return 0 or -1 (or some such) setting errno.
* When
2009 Oct 21
1
[PATCH node] Renamed files and menu items for node administration:
...DomainListConfigScreen.__init__(self, "Create A Domain")
-
- def get_elements_for_page(self, screen, page):
- if page is self.LIST_PAGE:
- return self.get_domain_list_page(screen, created = False)
- elif page is self.CREATE_PAGE:
- return self.get_create_domain_page(screen)
-
- def page_has_next(self, page):
- if page is self.LIST_PAGE: return self.has_selectable_domains()
- return False
-
- def page_has_back(self, page):
- if page is self.CREATE_PAGE: return True
- return False
-
- def validate_input(self, page, error...
2010 Apr 22
6
libxenlight and xl: missing features
Hi all,
this is a non comprehensive list of missing features in libxenlight
and\or xl:
- xen_platform_pci flag support in VM config files;
- relative paths support in VM config files;
- hap support in VM config files;
- -c option to xl create;
- remus;
- trigger command;
- tmem-* commands;
- sched-* commands;
- usb-* commands;
- scsi-* commands.
In general if you execute "xm
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
...n.py
+++ b/nodeadmin/createdomain.py
@@ -55,9 +55,6 @@ class CreateDomainConfigScreen(DomainListConfigScreen):
else:
errors.append("You must first select a domain to create.")
- def process_input(self, page):
- print "foo"
-
def get_create_domain_page(self, screen):
grid = Grid(1, 1)
grid.setField(Label("%s was successfully created." % self.get_selected_domain()), 0, 0)
diff --git a/nodeadmin/createnetwork.py b/nodeadmin/createnetwork.py
new file mode 100644
index 0000000..6b40bb6
--- /dev/null
+++ b/nodeadmin/cr...
2007 Feb 09
0
[PATCH] xenconsoled: ignore spurious watch event
...dom->tty_fd = domain_create_tty(dom);
@@ -279,6 +285,7 @@ static int domain_create_ring(struct dom
xc_evtchn_close(dom->xce_handle);
dom->xce_handle = -1;
dom->local_port = -1;
+ dom->remote_port = -1;
goto out;
}
}
@@ -336,6 +343,7 @@ static struct domain *create_domain(int
dom->ring_ref = -1;
dom->local_port = -1;
+ dom->remote_port = -1;
dom->interface = NULL;
dom->xce_handle = -1;
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2007 Feb 20
0
[PATCH] Xenconsoled should ignore spurious watch event. Otherwise, it can rebind to the same evtchn of a dying domU during suspending and cause below error message:
...dom->tty_fd = domain_create_tty(dom);
@@ -335,6 +341,7 @@ static int domain_create_ring(struct dom
xc_evtchn_close(dom->xce_handle);
dom->xce_handle = -1;
dom->local_port = -1;
+ dom->remote_port = -1;
goto out;
}
}
@@ -392,6 +399,7 @@ static struct domain *create_domain(int
dom->ring_ref = -1;
dom->local_port = -1;
+ dom->remote_port = -1;
dom->interface = NULL;
dom->xce_handle = -1;
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2011 Dec 02
7
libxl: error when destroying domain on NetBSD
Hello,
When destroying a guest (xl destroy <domid>) on NetBSD I get the
following error on the log file:
Waiting for domain test (domid 1) to die [pid 11675]
Domain 1 is dead
Unknown shutdown reason code 255. Destroying domain.
Action for shutdown reason code 255 is destroy
Domain 1 needs to be cleaned up: destroying the domain
do_domctl failed: errno 3
libxl: error:
2014 Nov 06
2
Bug#767295: Bug#767295: Bug#767295: xl: apparent memory leak
...libxl__bootloader_run (libxl_bootloader.c:385)
> ==5722== by 0x406B50C: initiate_domain_create (libxl_create.c:807)
> ==5722== by 0x406B50C: do_domain_create (libxl_create.c:1354)
> ==5722== by 0x406B6AF: libxl_domain_create_new (libxl_create.c:1377)
> ==5722== by 0x8056182: create_domain (xl_cmdimpl.c:2254)
> ==5722== by 0x8059F27: main_create (xl_cmdimpl.c:4407)
> ==5722== by 0x804E119: main (xl.c:360)
> ==5722==
> ==5722== 28 bytes in 1 blocks are definitely lost in loss record 39 of 72
> ==5722== at 0x4026B2D: malloc (vg_replace_malloc.c:299)
> ==5722...
2011 Sep 20
9
XL: pv guests dont reboot after migration (xen4.1.2-rc2-pre)
A pv guest will not reboot after migration, the guest itself does
everything right, including the shutdown, but xl does not recreate the
guest, it just shuts it down.
This goes for 2.6.39 and 3.0.4 guest kernels, havent tried different
ones. I also haven tried different xen versions.
Dont know if this would affect hvm, probably not since qemu leaves the
guest running and does a
2009 Aug 31
1
Fixed patch...
This version of the patch includes feedback from jboggs at redhat.com,
including fixes to the BuildRequires and Requires in the spec file.
2014 Oct 29
4
Bug#767295: xl: apparent memory leak
Package: xen-utils-4.4
Version: 4.4.1-3
When booting domU's running amd64 jessie, I notice some memory problems
with xl.
root at xen:~# pmap -x 4121
4121: /usr/lib/xen-4.4/bin/xl create --quiet --defconfig
/etc/xen/auto/mail_deb80.cfg
Address Kbytes RSS Dirty Mode Mapping
0000000000400000 144 128 0 r-x-- xl
0000000000623000 4 4 4 r---- xl
2009 Sep 11
1
Text-based node administration tool
This patch obsoletes any previous ones. This is an upstream candidate,
so I'm looking for feedback so we can push this and start using it.
2009 Sep 14
1
Bugfixes...
This version fixes a few bugs found by jboggs. It also includes some
logging facilities that need to be fleshed out more.