Hi all, When I set the VM configure file disk=[], I can set VM disk type "file:", "phy:", "tap:aio:", which driver do they use? And where''s the related code in Xen Hypervisor? When I use "file" driver to create a para-virtulized VM, it''s OK. But when I replace it to "tap:aio", it will fail. So I want to read the related codes. Thanks. -- Chunqi Li Department of Computer Science School of EECS Peking University Beijing, China _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Thu, 2012-03-29 at 09:35 +0100, 李春奇 wrote:> Hi all, > When I set the VM configure file disk=[], I can set VM disk type > "file:", "phy:", "tap:aio:",Note that this particular bit of the syntax is only supported in xl for compatibility with xm and they don't really mean much to xl (it basically ignores them). Please see docs/misc/xl-disk-configuration.txt for details of the xl configuration syntax.> which driver do they use?That is up to the toolstack which will try and select the best backend to use for the particular configuration. You can see which backend is selected by running "xl -vvv create <...>".> And where's the related code in Xen Hypervisor?The code lives in the kernel (e.g. blkback or blktap*) and userspace (e.g. qdisk or blktap*) backend drivers. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel