[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: [PATCH] Fix restore handling checks


  • To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
  • From: Paolo Bonzini <pbonzini@xxxxxxxxxx>
  • Date: Wed, 23 Jun 2010 13:19:01 +0200
  • Cc: Michal Novotny <minovotn@xxxxxxxxxx>, "'xen-devel@xxxxxxxxxxxxxxxxxxx'" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 23 Jun 2010 04:20:32 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=wofV2q3LipvB1HKtMn0NeeDARNGVjEkqo6ssWmoRWFozCGEpoTjleoD272R018qHXk JyYUzpFRDgKfKozbCV8/1Jf9JMcKcklGPWZTvATSKaO0PS5IM2fgUtX/XxnH3U4fizQv FPgNNCvwSxB6fYrz1wx1Q6J1uZLKJe2BHgWxY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 06/22/2010 04:56 PM, Ian Jackson wrote:
Michal Novotny writes ("Re: [Xen-devel] [PATCH] Fix restore handling checks"):
Right, there's the exception for CD-ROMs according to the spec. I should
implement this as well but read-only IDE disk devices are not supported
according to the IDE specs.

I don't think this is a very good argument for not supporting them.

The Xen administrator should be able to present a guest with an IDE
disk and nevertheless prevent the guest from writing to it.

If that means that the guest administrator needs to be told
out-of-band that writes will not work, rather than having their kernel
automatically discover the read-only nature, then that's fine.  And if
the guest administrator doesn't do that and their kernel tries to
write and gets IDE errors then that is the correct consequence.

We tried to get that to work, and we could not really find a device error that worked reliably in the guests. We often got infinite loops on mount or little after that, on both Linux and Windows.

If you want to use read-only devices, you should really use SCSI or PV devices.

Paolo

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.