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

Re: [Xen-users] Converting a HVM Guest into a PV-on-HVM Guest

  • To: Srujan Kotikela <ksrujandas@xxxxxxxxx>
  • From: Todd Deshane <todd.deshane@xxxxxxx>
  • Date: Mon, 20 Jun 2011 22:51:14 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 20 Jun 2011 19:52:41 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=DP/oexrp+kLRk2XUlzDy+bZHXyMgiVQypNljk13vojMQ6joY6KYhHxt8DwOjbD7V9C PuiFzfVK1X7sSo92lB+S3kIUTYYJ9pTR39zXeEjPJlhIWIEhzMjINHXXJuZVusuc8r50 qBElXF8ZdskjBmisXVA5tBRHtsRWJpjmatKAQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Mon, Jun 20, 2011 at 10:23 PM, Srujan Kotikela <ksrujandas@xxxxxxxxx> wrote:
>> Hi Todd,
>> Thanks for the reply.
>> I am trying to invoke a hypercall from the HVM guest. The only way I did
>> hypercalls from DomU till now (on PV guests) is use the libxc
>> library do_xen_hypercall (which in turn uses do_privcmd which in turn uses
>> ioctl).
>> Now I have a added a custom hypercall to xen and I am trying to invoke it
>> from HVM guest. As the HVM guest is not xenified (-linux) it doesn't have
>> the privcmd interface (/proc/xen/privcmd). So I am looking for a way to
>> invoke the custom hypercall from HVM. While in this try, I found that
>> pv-on-hvm will enable hypercalls from HVM guest. However I also read that it
>> may not allow all the hypercalls (correct me if I am wrong).
>> While looking at the other posts I found
>> this, http://xen.1045712.n5.nabble.com/hypercalls-from-HVM-guest-on-XEN-3-4-3-td4454566.html which
>> recommends to look into tools/firmware/hvmloader. There is some code in
>> hypercall.h in the hvmloader directory
>> (http://rswiki.csie.org/lxr/http/source/tools/firmware/hvmloader/hypercall.h?v=xen-4.0.0;a=ppc).
>> I am figuring out how to make use of this. Will update once I figure it out.
>> Sorry for not being unclear, earlier.

I do think that you are getting into the territory where you might
want to read this [1] and then ask on xen-devel for clarification.

[1] http://wiki.xensource.com/xenwiki/AskingXenDevelQuestions

Xen-users mailing list



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