Got it. Thank you
Hannas
On Tue, 19 May 2015 17:41:41 +0200, Roger Pau Monné wrote:
El 19/05/15 a les 16.17, HANNAS YAYA Issa ha escrit:
Hi
I want to disable persistent grant in xen. I tried to use xenbus to
disable it. What I did is modifying this line in
drivers/block/xenblkback/xenbus.c:
791 err = xenbus_printf(xbt, dev->nodename, "feature-persistent",
"%u", 1);
and put this
791 err = xenbus_printf(xbt, dev->nodename, "feature-persistent",
"%u", 0);
but the problem is my domain crash.
I think it is not the only thing to do in order to disable
persistent
grant.
You only disabled it in the backend, so blkfront is announcing
persistent grant support while blkback is not. This means that
blkback
will use persistent grants (because it sees the frontend supports
them),
but blkfront will not.
You also need to disable the feature announcement from the frontend,
just grep for feature-persistent in xen-blkfront.c.
Roger.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel