aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-13 19:03:57 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-13 19:03:57 +0000
commitd07f22c53051472ea26618821941a060b63d5453 (patch)
tree72d85c12f0e0569a67ca29100650be272a9cc054 /net.h
parent5a37791249c2dc6fe788fcb618a9dd9531695b84 (diff)
downloadqemu-d07f22c53051472ea26618821941a060b63d5453.zip
qemu-d07f22c53051472ea26618821941a060b63d5453.tar.gz
qemu-d07f22c53051472ea26618821941a060b63d5453.tar.bz2
Add qemu_check_nic_model() and qemu_check_nic_model_list() (Mark McLoughlin)
Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6281 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'net.h')
-rw-r--r--net.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net.h b/net.h
index e79ee3d..291807a 100644
--- a/net.h
+++ b/net.h
@@ -47,6 +47,9 @@ ssize_t qemu_sendv_packet(VLANClientState *vc, const struct iovec *iov,
int iovcnt);
void qemu_send_packet(VLANClientState *vc, const uint8_t *buf, int size);
void qemu_format_nic_info_str(VLANClientState *vc, uint8_t macaddr[6]);
+void qemu_check_nic_model(NICInfo *nd, const char *model);
+void qemu_check_nic_model_list(NICInfo *nd, const char * const *models,
+ const char *default_model);
void qemu_handler_true(void *opaque);
void do_info_network(void);