Displaying 4 results from an estimated 4 matches for "remove_domain".
2009 Oct 29
1
[PATCH] Enables users to migrate virtual machines between hosts.
...tDomain
from stopdomain import StopDomain
from removedomain import RemoveDomain
from listdomains import ListDomains
+from migratedomain import MigrateDomain
from createuser import CreateUser
import utils
import logging
-ADD_DOMAIN = 1
-START_DOMAIN = 2
-STOP_DOMAIN = 3
-REMOVE_DOMAIN = 4
-LIST_DOMAINS = 5
-CREATE_USER = 6
+ADD_DOMAIN = 1
+START_DOMAIN = 2
+STOP_DOMAIN = 3
+REMOVE_DOMAIN = 4
+LIST_DOMAINS = 5
+MIGRATE_DOMAIN = 6
+CREATE_USER = 7
class NodeMenuScreen(MenuScreen):
def __init__(self):
@@ -48,15 +50,17 @@ class NodeMenuScreen(MenuScreen):...
2009 Dec 08
2
Rebased patches, fixed a rebasing problem...
The previous patch set had an error and one development branch's changes
showed up twice, and two different change sets. So it was missing the bulk
of the configuration work. This patch set fixes that.
2009 Oct 21
1
[PATCH node] Renamed files and menu items for node administration:
...om listdomains import ListDomains
from createuser import CreateUser
import utils
import logging
-DEFINE_DOMAIN = 1
-CREATE_DOMAIN = 2
-DESTROY_DOMAIN = 3
-UNDEFINE_DOMAIN = 4
-LIST_DOMAINS = 5
-CREATE_USER = 6
+ADD_DOMAIN = 1
+CREATE_DOMAIN = 2
+STOP_DOMAIN = 3
+REMOVE_DOMAIN = 4
+LIST_DOMAINS = 5
+CREATE_USER = 6
class NodeMenuScreen(MenuScreen):
def __init__(self):
MenuScreen.__init__(self, "Node Administration")
def get_menu_items(self):
- return (("Define A Domain", DEFINE_DOMAIN),
- ("...
2005 Aug 30
4
Re: [Xen-changelog] New console transport and update xenconsoled.
...->tty_fd != -1)
>+ close(d->tty_fd);
> free(d);
> break;
> }
>@@ -211,28 +335,28 @@
>
> static void remove_dead_domains(struct domain *dom)
> {
>- if (dom == NULL) return;
>- remove_dead_domains(dom->next);
>-
>- if (dom->is_dead) {
>- remove_domain(dom);
>+ struct domain *n;
>+
>+ while (dom != NULL) {
>+ n = dom->next;
>+ if (dom->is_dead)
>+ remove_domain(dom);
>+ dom = n;
> }
> }
>
> static void handle_tty_read(struct domain *dom)
> {
> ssize_t len;
>- xcs_msg_t msg;
>-
>- msg.t...