All of lore.kernel.org
 help / color / mirror / Atom feed
* reboot dom0 without vps downtime
@ 2017-03-17  7:09 Vasiliy Tolstov
  2017-03-17  8:21 ` Juergen Gross
  0 siblings, 1 reply; 7+ messages in thread
From: Vasiliy Tolstov @ 2017-03-17  7:09 UTC (permalink / raw)
  To: xen-devel, xen-users

Hi. I'm not using xen for past 4 years (switched to kvm) but now i'm
interesting - does it possible to reboot (for update) dom0 ?
As i know, xen stubdoms can dedicate network, disk and xenstored to
external domains. Does it possible to reboot dom0 ?


-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: reboot dom0 without vps downtime
  2017-03-17  7:09 reboot dom0 without vps downtime Vasiliy Tolstov
@ 2017-03-17  8:21 ` Juergen Gross
  2017-03-17  8:23   ` Vasiliy Tolstov
  0 siblings, 1 reply; 7+ messages in thread
From: Juergen Gross @ 2017-03-17  8:21 UTC (permalink / raw)
  To: Vasiliy Tolstov, xen-devel, xen-users

On 17/03/17 08:09, Vasiliy Tolstov wrote:
> Hi. I'm not using xen for past 4 years (switched to kvm) but now i'm
> interesting - does it possible to reboot (for update) dom0 ?
> As i know, xen stubdoms can dedicate network, disk and xenstored to
> external domains. Does it possible to reboot dom0 ?

Not yet.


Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: reboot dom0 without vps downtime
  2017-03-17  8:21 ` Juergen Gross
@ 2017-03-17  8:23   ` Vasiliy Tolstov
  2017-03-17  8:47     ` Juergen Gross
  0 siblings, 1 reply; 7+ messages in thread
From: Vasiliy Tolstov @ 2017-03-17  8:23 UTC (permalink / raw)
  To: Juergen Gross; +Cc: xen-users, xen-devel

2017-03-17 11:21 GMT+03:00 Juergen Gross <jgross@suse.com>:
> Not yet.


Does this planned or how can i do that if i can write some code ? =)

-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: reboot dom0 without vps downtime
  2017-03-17  8:23   ` Vasiliy Tolstov
@ 2017-03-17  8:47     ` Juergen Gross
  2017-03-17  8:49       ` Vasiliy Tolstov
  0 siblings, 1 reply; 7+ messages in thread
From: Juergen Gross @ 2017-03-17  8:47 UTC (permalink / raw)
  To: Vasiliy Tolstov; +Cc: xen-devel

On 17/03/17 09:23, Vasiliy Tolstov wrote:
> 2017-03-17 11:21 GMT+03:00 Juergen Gross <jgross@suse.com>:
>> Not yet.
> 
> 
> Does this planned or how can i do that if i can write some code ? =)

(Dropping xen-users)

I have plans for the future, but I'm not sure when I'll have enough
time for it.

Any help on this topic is welcome, of course!

I think (at least) the following features are missing:

- capability to specify a (new) dom0 kernel and initrd for reboot of
  dom0: both must be transferred to the hypervisor in a memory buffer
  which will be used for the reboot
- dom0 reboot capability in hypervisor using the kernel and initrd
  from the memory buffer, without destroying other domains
- dom0 has to check for presence of xenstore-stubdom before trying to
  create it. In case xenstore is already existing connect to it and
  re-establish needed connections to other domains, don't auto-start
  any other domains in this case

I'm sure there are lots of other little pieces missing, but those can
be addressed after above main features are available.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: reboot dom0 without vps downtime
  2017-03-17  8:47     ` Juergen Gross
@ 2017-03-17  8:49       ` Vasiliy Tolstov
  2017-03-17  8:56         ` Juergen Gross
  0 siblings, 1 reply; 7+ messages in thread
From: Vasiliy Tolstov @ 2017-03-17  8:49 UTC (permalink / raw)
  To: Juergen Gross; +Cc: xen-devel

2017-03-17 11:47 GMT+03:00 Juergen Gross <jgross@suse.com>:
> (Dropping xen-users)
>
> I have plans for the future, but I'm not sure when I'll have enough
> time for it.
>
> Any help on this topic is welcome, of course!
>
> I think (at least) the following features are missing:
>
> - capability to specify a (new) dom0 kernel and initrd for reboot of
>   dom0: both must be transferred to the hypervisor in a memory buffer
>   which will be used for the reboot
> - dom0 reboot capability in hypervisor using the kernel and initrd
>   from the memory buffer, without destroying other domains
> - dom0 has to check for presence of xenstore-stubdom before trying to
>   create it. In case xenstore is already existing connect to it and
>   re-establish needed connections to other domains, don't auto-start
>   any other domains in this case
>
> I'm sure there are lots of other little pieces missing, but those can
> be addressed after above main features are available.


What about qemu processes (i'm interesting on hvm domains pvh or how
they naming now)

-- 
Vasiliy Tolstov,
e-mail: v.tolstov@selfip.ru

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: reboot dom0 without vps downtime
  2017-03-17  8:49       ` Vasiliy Tolstov
@ 2017-03-17  8:56         ` Juergen Gross
  2017-03-17 10:25           ` Wei Liu
  0 siblings, 1 reply; 7+ messages in thread
From: Juergen Gross @ 2017-03-17  8:56 UTC (permalink / raw)
  To: Vasiliy Tolstov; +Cc: xen-devel

On 17/03/17 09:49, Vasiliy Tolstov wrote:
> 2017-03-17 11:47 GMT+03:00 Juergen Gross <jgross@suse.com>:
>> (Dropping xen-users)
>>
>> I have plans for the future, but I'm not sure when I'll have enough
>> time for it.
>>
>> Any help on this topic is welcome, of course!
>>
>> I think (at least) the following features are missing:
>>
>> - capability to specify a (new) dom0 kernel and initrd for reboot of
>>   dom0: both must be transferred to the hypervisor in a memory buffer
>>   which will be used for the reboot
>> - dom0 reboot capability in hypervisor using the kernel and initrd
>>   from the memory buffer, without destroying other domains
>> - dom0 has to check for presence of xenstore-stubdom before trying to
>>   create it. In case xenstore is already existing connect to it and
>>   re-establish needed connections to other domains, don't auto-start
>>   any other domains in this case
>>
>> I'm sure there are lots of other little pieces missing, but those can
>> be addressed after above main features are available.
> 
> 
> What about qemu processes (i'm interesting on hvm domains pvh or how
> they naming now)

For pvh domains qemu processes aren't mandatory. All mandatory backends
like disk and net must live in stubdoms for dom0 being rebootable, of
course.

For hvm domains you have to use qemu-stubdoms. Those are supported with
qemu-traditional only right now. Support of upstream qemu in a stubdom
is another feature which would be nice to have, but this is no blocking
point for dom0 reboot.


Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: reboot dom0 without vps downtime
  2017-03-17  8:56         ` Juergen Gross
@ 2017-03-17 10:25           ` Wei Liu
  0 siblings, 0 replies; 7+ messages in thread
From: Wei Liu @ 2017-03-17 10:25 UTC (permalink / raw)
  To: Juergen Gross; +Cc: Wei Liu, Vasiliy Tolstov, xen-devel

On Fri, Mar 17, 2017 at 09:56:44AM +0100, Juergen Gross wrote:
> On 17/03/17 09:49, Vasiliy Tolstov wrote:
> > 2017-03-17 11:47 GMT+03:00 Juergen Gross <jgross@suse.com>:
> >> (Dropping xen-users)
> >>
> >> I have plans for the future, but I'm not sure when I'll have enough
> >> time for it.
> >>
> >> Any help on this topic is welcome, of course!
> >>
> >> I think (at least) the following features are missing:
> >>
> >> - capability to specify a (new) dom0 kernel and initrd for reboot of
> >>   dom0: both must be transferred to the hypervisor in a memory buffer
> >>   which will be used for the reboot
> >> - dom0 reboot capability in hypervisor using the kernel and initrd
> >>   from the memory buffer, without destroying other domains
> >> - dom0 has to check for presence of xenstore-stubdom before trying to
> >>   create it. In case xenstore is already existing connect to it and
> >>   re-establish needed connections to other domains, don't auto-start
> >>   any other domains in this case
> >>
> >> I'm sure there are lots of other little pieces missing, but those can
> >> be addressed after above main features are available.
> > 
> > 
> > What about qemu processes (i'm interesting on hvm domains pvh or how
> > they naming now)
> 
> For pvh domains qemu processes aren't mandatory. All mandatory backends
> like disk and net must live in stubdoms for dom0 being rebootable, of
> course.
> 

stubdoms -> backend domains to be precise.  I think you can use any
normal OS for that purpose.

(I realise people might be using stubdom with slightly different
meanings, but to me it mostly means unikernel-like domains, because
that's how it is done at the moment in Xen. The definition of stubdom is
up for debate, of course).

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-03-17 10:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-17  7:09 reboot dom0 without vps downtime Vasiliy Tolstov
2017-03-17  8:21 ` Juergen Gross
2017-03-17  8:23   ` Vasiliy Tolstov
2017-03-17  8:47     ` Juergen Gross
2017-03-17  8:49       ` Vasiliy Tolstov
2017-03-17  8:56         ` Juergen Gross
2017-03-17 10:25           ` Wei Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.