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

Re: [Xen-devel] libxl/xl memory paging/sharing/ballooning/etc proposal.


  • To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxx>
  • From: "Andres Lagar-Cavilla" <andres@xxxxxxxxxxxxxxxx>
  • Date: Thu, 15 Mar 2012 07:50:32 -0700
  • Cc: George Dunlap <george.dunlap@xxxxxxxxxxxxx>, Olaf Hering <olaf@xxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • Delivery-date: Thu, 15 Mar 2012 14:50:52 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=lagarcavilla.org; h=message-id :in-reply-to:references:date:subject:from:to:cc:reply-to :mime-version:content-type:content-transfer-encoding; q=dns; s= lagarcavilla.org; b=aPxTRDLwdjxs6Ltu+Bn3GWN+yqHob1ubJhxrX2wpDfbd qRbk0F1hj/ir+DslUSgo14ZY1m3HUbzwS22txuFoVBLSLcY7mztLfjZdVvoKyJEa Dwnztwfm5bOj9UlJvJfKyDUTHN/CK6fbv8e4eKIp7lYrcbKZZGRjK2xFE7zbDCY=
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

> On Thu, 2012-03-15 at 14:40 +0000, Andres Lagar-Cavilla wrote:
>> > On Thu, 2012-03-15 at 14:12 +0000, Andres Lagar-Cavilla wrote:
>> > [...]
>> >>
>> >> > libxl_domain_(enable|disable)_sharing(ctx, domid)
>> >> >
>> >> >         Does what it says on the tin.
>> >
>> > Also long running?
>>
>> Enable is simply setting a flag. Disable is not a problem either: the
>> hypervisor will silently take care of unshares.
>>
>> However, if there is an ENOMEM in an unshare, someone has to be
>> listening
>> or the domain will crash. It could be that the xl daemon is tasked with
>> this for the lifetime of the domain, once sharing has been enabled at
>> least once. I don't think it's something to decide upon right now.
>
> xl has explicitly decided not to care about sharing so this would be the
> problem of whichever actor does do sharing...
>
> Given the assumption that a sharing-actor would have to be system wide
> perhaps we don't need these libxl functions to start stop it (since it
> will be running already) and the very act (no pun intended) of setting
> actor="blah-sharing" should be enough to enable or disable sharing for a
> particular guest?

Both points are sensible. Ack from me.
Andres

>
> Ian.
>
>
>



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


 


Rackspace

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