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"
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?
Thanks,
Rishi