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

Re: [Xen-devel] [Qemu-devel] bind interdomain ioctl error xen-kvm.c



Hi Stefano,
        ÂPlease find my answers inline.Â

>>>> However Anthony (CC'ed) should have some patches for it.
Anthony, can you please share any patch that can help me with this?


>>>> Can you post the full output of the logs?
I have attached the output of "sudo xl -v create /etc/xen/qemu-pv.cfg" asÂxl_create.txt. I have also enabled DEBUG_XEN_HVM in xen-hvm.c and pasted output of "sudo ./x86_64-softmmu/qemu-system-x86_64 Â-machine q35,accel=xen -cpu qemu64 -xen-domid 13" below:Â


xen: shared page at pfn feffd
xen: buffered io page at pfn feffb
bind interdomain ioctl error 22
xen hardware virtual machine initialisation failed


>>>> What is the Xen version that you are running?

I am using XEN 4.4.1 as this is the default on Ubuntu 14.04. I have attached the output of "xl info" command as xl_info.txt.Â

>>>>Did you execute the xencommons init script at boot time?
On Ubuntu I don't see /etc/init.d/xencommon but there is a /etc/init.d/xen script which startsÂxenstored andÂxenconsoled. I did confirm from ps aufx that both the daemons are running. I have attched log for "ps aufx" as ps_aufx_grep_xen.txtÂ.






On Mon, Jan 5, 2015 at 4:48 AM, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx> wrote:
On Tue, 30 Dec 2014, Rishi Ranjan wrote:
> I am trying to use Xen as accelerator for my Qemu machine. I have created a guest domain with following xl config:Â
> builder = "hvm"
> name = "qemu-hvm"
> memory = "512"
> vcpus = 1
> vif = ['']
> vnc = 1
> boot="c"
>
>
> When I try to run with following parameters:Â
>
> -machine q35,accel=xen -cpu qemu64 -bios ./pc-bios/bios-256k.bin -xen-domid "Domain id of guest"

You should know that q35 emulation is not fully working on Xen yet.
However Anthony (CC'ed) should have some patches for it.

That said, it does not look like this error has something to do with
q35.


> I am getting follwing error from xen-hvm.c:Â
>
> "bind interdomain ioctl error" in xen_hvm_init while calling     state->shared_vmport_page =
> Â Â Â Â Â Â xc_map_foreign_range(xen_xc, xen_domid, XC_PAGE_SIZE,
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ÂPROT_READ|PROT_WRITE, ioreq_pfn);Â
>
> Can someone help me get this working?Â

Can you post the full output of the logs?
What is the Xen version that you are running?
Did you execute the xencommons init script at boot time?

Attachment: xl_info.txt
Description: Text document

Attachment: ps_aufx_grep_xen.txt
Description: Text document

Attachment: xl_create.txt
Description: Text document

_______________________________________________
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®.