qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/8] net: Introduce VLANClientState->info_dict


From: Miguel Di Ciurcio Filho
Subject: [Qemu-devel] [PATCH 3/8] net: Introduce VLANClientState->info_dict
Date: Thu, 10 Jun 2010 18:37:00 -0300

There is no standard format when formatting VLANClientState.info_str,
so it is difficult to extract information and transmit it over QMP.

This patch adds info_dict, a QDict to better handle this information.

Signed-off-by: Miguel Di Ciurcio Filho <address@hidden>
---
 net.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net.h b/net.h
index b83f615..acc1645 100644
--- a/net.h
+++ b/net.h
@@ -66,6 +66,7 @@ struct VLANClientState {
     char *model;
     char *name;
     char info_str[256];
+    QDict *info_dict;
     unsigned receive_disabled : 1;
 };
 
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]