All of lore.kernel.org
 help / color / mirror / Atom feed
* Major BUG in xm restore command
@ 2006-04-06 10:20 Philippe Berthault
  2006-04-06 14:03 ` Ewan Mellor
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Berthault @ 2006-04-06 10:20 UTC (permalink / raw)
  To: Xen-Devel, Xen-Users

Xen release 3.0.0

With 'xm rename' and 'xm restore' commands, it's possible to start several
domains with the same properties (same config file).

Example:
 - create a config file named 'A'
 - xm create A
 - xm rename A B
 - xm save B B.save
 - xm create A
 - xm restore B.save

At this time, there is two domains A and B with the same properties
(same hard disk, same IP address, etc..).

The correct behavior would be to reject the "xm restore B.save".

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

* Re: Major BUG in xm restore command
  2006-04-06 10:20 Major BUG in xm restore command Philippe Berthault
@ 2006-04-06 14:03 ` Ewan Mellor
  0 siblings, 0 replies; 2+ messages in thread
From: Ewan Mellor @ 2006-04-06 14:03 UTC (permalink / raw)
  To: Philippe Berthault; +Cc: Xen-Devel, Xen-Users

On Thu, Apr 06, 2006 at 12:20:32PM +0200, Philippe Berthault wrote:

> Xen release 3.0.0
> 
> With 'xm rename' and 'xm restore' commands, it's possible to start several
> domains with the same properties (same config file).
> 
> Example:
> - create a config file named 'A'
> - xm create A
> - xm rename A B
> - xm save B B.save
> - xm create A
> - xm restore B.save
> 
> At this time, there is two domains A and B with the same properties
> (same hard disk, same IP address, etc..).
> 
> The correct behavior would be to reject the "xm restore B.save".

The hotplug scripts should be protecting you from writing to the same disk by
two domains at the same time.  What does your config file look like -- how is
that not happening?

Ewan.

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

end of thread, other threads:[~2006-04-06 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-06 10:20 Major BUG in xm restore command Philippe Berthault
2006-04-06 14:03 ` Ewan Mellor

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.