diff options
author | Rob Gulewich <robert.gulewich@joyent.com> | 2011-08-11 01:17:11 +0000 |
---|---|---|
committer | Rob Gulewich <robert.gulewich@joyent.com> | 2011-08-11 01:17:11 +0000 |
commit | c3b74f8afd4e7fe1cfc0704b148a9e7a48ffaf36 (patch) | |
tree | b36888d3c5ca30e70b876d3aa5e90b1bfe857027 /net.c | |
parent | 713c32b302bc536ff68d9f886f3cc43f5bd6b40d (diff) | |
download | illumos-kvm-cmd-c3b74f8afd4e7fe1cfc0704b148a9e7a48ffaf36.tar.gz |
[HVM-484] Add support for DHCP responses from Qemu in SmartOS version of Qemu
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 37 |
1 files changed, 36 insertions, 1 deletions
@@ -1102,11 +1102,46 @@ static const struct { .type = QEMU_OPT_STRING, .help = "vnic interface name", }, - { + { .name = "macaddr", .type = QEMU_OPT_STRING, .help = "MAC address", }, + { + .name = "ip", + .type = QEMU_OPT_STRING, + .help = "DHCP IP address", + }, + { + .name = "netmask", + .type = QEMU_OPT_STRING, + .help = "DHCP netmask", + }, + { + .name = "gateway_ip", + .type = QEMU_OPT_STRING, + .help = "DHCP gateway IP address", + }, + { + .name = "server_ip", + .type = QEMU_OPT_STRING, + .help = "IP address to return as the DHCP server", + }, + { + .name = "dns_ip", + .type = QEMU_OPT_STRING, + .help = "DHCP DNS server IP address", + }, + { + .name = "hostname", + .type = QEMU_OPT_STRING, + .help = "DHCP DNS server IP address", + }, + { + .name = "lease_time", + .type = QEMU_OPT_NUMBER, + .help = "DHCP DNS server lease time", + }, { /* end of list */ } }, #endif |