Parent Directory
|
Revision Log
|
Patch
| revision 1.39 by bellard, Sun Nov 6 16:13:28 2005 UTC | revision 1.40 by bellard, Tue Nov 15 22:16:05 2005 UTC | |
|---|---|---|
| # | Line 196 static void do_info_version(void) | Line 196 static void do_info_version(void) |
| 196 | term_printf("%s\n", QEMU_VERSION); | term_printf("%s\n", QEMU_VERSION); |
| 197 | } | } |
| 198 | ||
| static void do_info_network(void) | ||
| { | ||
| int i, j; | ||
| NetDriverState *nd; | ||
| for(i = 0; i < nb_nics; i++) { | ||
| nd = &nd_table[i]; | ||
| term_printf("%d: ifname=%s macaddr=", i, nd->ifname); | ||
| for(j = 0; j < 6; j++) { | ||
| if (j > 0) | ||
| term_printf(":"); | ||
| term_printf("%02x", nd->macaddr[j]); | ||
| } | ||
| term_printf("\n"); | ||
| } | ||
| } | ||
| 199 | static void do_info_block(void) | static void do_info_block(void) |
| 200 | { | { |
| 201 | bdrv_info(); | bdrv_info(); |
|
||||||||
| savannah-hackers-public@gnu.org | ViewVC Help |
| Powered by ViewVC 1.1.26 |