Skip to content
Snippets Groups Projects
Commit 23d0d827 authored by Glauber Costa's avatar Glauber Costa
Browse files

run.py: also execute xen

So far, our run.py script only runs qemu-based VMs, like KVM. For Xen, I was
resorting to manually run xl. This patch implements xen support in that script.

We do need a bit of extra information, like the bridge name. I am defaulting to
F19's, allowing the user to set it up. We can do better by trying to guess from
reading what is in the system, but this will do for now.

Another problem is the console, which Xen does not redirect to stdio. We have
to attach one, but detaching it does not kill the guest, as it happens with the
qemu-based VMs. Because of that, I am defaulting to include the "-c" option to
automatically attach a console, but for people who would like to have it on
background, an option to not include it.
parent 1f18e2e2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment