On Fri, 12 Feb 2016, Wei Liu wrote: > # Option 3: Only use -fsdev > > The third way of doing it would be to not use QEMU command line to > create device at all. We only use -fsdev to create fsdev and in > xen_init_pv we reply on information in xenstore to create 9pfs > transport. In this case: > > 1. Toolstack arranges some xenstore entries. > 2. Toolstack arranges command line options for QEMU: > -fsdev XXX > 3. QEMU starts up in xen-attach mode, scans xenstore for relevant > entries, creates 9pfs transport on the fly. > > Downside: This seems to deviate from how we do things before > (comparing with other device like nic and disk).
I think this is best and actually it is like the other PV devices in QEMU: xen_nic is not used at all and xen_disk is configured without command line options, like you are suggesting here.