From: Daniel Stodden Subject: Re: can I boot privilleged dom like dom0 via xm create Date: Sun, 29 Jun 2008 03:23:15 -0700 Message-ID: <1214734995.5578.54.camel@thinkpad.localdomain> References: <4046dbfd0806130153s32bc7297l7d66ce7b6b3aa40a@mail.gmail.com> <617dbaa80806130302t29ff550dm6845b8f6829e5589@mail.gmail.com> <200806181831.13559.mark.williamson@cl.cam.ac.uk> <48670D86.9040302@ncic.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <48670D86.9040302@ncic.ac.cn> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: tgh Cc: Xen Developers List-Id: xen-devel@lists.xenproject.org On Sun, 2008-06-29 at 12:20 +0800, tgh wrote: > hi > I am interested in this issue, and I wonder wether we could manage=20 > dom0 in xen architecture, that is ,to boot dom0, to reboot it ,to store= =20 > it ,or restore it ,while suspending domU in memory ,through some domctl= =20 > whenever necessary, or could we develop some new hypercall to make it=20 > work ,or does xen architecture have some inherent limit in itself and=20 > have no compatibility with this potential augment? and why not or=20 > how to achieve it , could some one give some advise on it Dom0 maintains a lot of information reflecting overall system state, including that of other guest systems. There's e.g. xenstore, typically most, if not all of the backend machinery used to serve guests. There's the qemu device emulation. All of these are stateful interfaces exposed to guests. So you'd have to save/restore all that (volatile) information to rehost other guests seamlessly after a reset. Not like it's absolutely undoable, but it'd be tricky and still easy to break during upgrades. Then there's dom0 as the maintenance interface at the foreground of your console machine interface. If that reboot fails, you're left with a completely nonoperational system, since the VMM provides no (or only minimal) interaction itself. It's a neat idea, but unlikely to be practical unless you move critical parts of its duties into different VMs, and at that point maybe even not so interesting anymore. Best, Daniel --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B