You can now specifiy the nic to use with the -n option.
Change-Id: I39c4384953798f4f9eb43057300037c4934d7f4f
Signed-off-by: Kyle Milka <[email protected]>
---
tests/vmm/vmrunkernel.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/vmm/vmrunkernel.c b/tests/vmm/vmrunkernel.c
index c858eb9..808560c 100644
--- a/tests/vmm/vmrunkernel.c
+++ b/tests/vmm/vmrunkernel.c
@@ -403,7 +403,7 @@ int main(int argc, char **argv)
((uint32_t *)a_page)[0x30/4] = 0x01060015;
//((uint32_t *)a_page)[0x30/4] = 0xDEADBEEF;
- while ((c = getopt(argc, argv, "dvm:c:gsf:k:")) != -1) {
+ while ((c = getopt(argc, argv, "dvm:c:gsf:k:n:")) != -1) {
switch (c) {
case 'd':
debug++;
@@ -448,6 +448,9 @@ int main(int argc, char **argv)
}
close(cmdline_fd);
break;
+ case 'n':
+ default_nic = strtoull(optarg, 0, 0);
+ break;
default:
fprintf(stderr, "BMAFR\n");
break;
--
2.8.0.rc3.226.g39d4020
--
You received this message because you are subscribed to the Google Groups
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.