jd wrote:
Hi
  The /etc/qemu-if script seems to be taking the interface as a parameter, is 
there a way to pass the bridge name to the script as well. Thus from the 
command line one can pass the bridge that one whats to attach to.
  (One can potentially one script for each bridge and pass the script name to 
qemu... but it seems bit unnecessary.)

Environmental variables passed to the QEMU process can be used by the scripts. For instance, if you use $BRIDGE_NAME in the script, then you would start QEMU with:

BRIDGE_NAME=br1 qemu-system-x86_64 ....

Regards,

Anthony Liguori

Thanks
/Jd


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to