[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] How to turn off persistent grant in xen
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 persistentgrant.You only disabled it in the backend, so blkfront is announcingpersistent 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@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |