xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* missing block script support for qemu in libxl
@ 2015-11-18  9:25 Olaf Hering
  2015-11-18  9:35 ` George Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Olaf Hering @ 2015-11-18  9:25 UTC (permalink / raw)
  To: xen-devel

Why does libxl now allow script= with backend=tap|qdisk? See
tools/libxl/libxl_device.c:disk_try_backend.

Ideally the script should prepare the backend storage based on info from
target=. Then the script should report either the dentry to be used by
qemu back to libxl, or it should setup the "physical-device" entry to be
used by blkback.

Right now the target= info is passed to the script, but its also used as
->pdev_path for qemu. Obvisouly qemu cant possibly make sense of the
target= info, because its meant for the script=.

tools/libxl/check-xl-disk-parse has some script examples. I think right
now its not possible to boot an HVM guest from iscsi, for example.

Should the logic in libxl be changed to make scripts= more useful, and
let libxl read info for qemu which has to be provided by the script?

Olaf

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-19 11:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-18  9:25 missing block script support for qemu in libxl Olaf Hering
2015-11-18  9:35 ` George Dunlap
2015-11-18  9:38   ` George Dunlap
2015-11-18  9:45   ` Olaf Hering
2015-11-19 11:30     ` Paul Durrant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).