 +#define ADAPTER_KEY "SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E972-E325-11CE-BFC1-08002BE10318}"
 +#define NETWORK_CONNECTIONS_KEY "SYSTEM\\CurrentControlSet\\Control\\Network\\{4D36E972-E325-11CE-BFC1-08002BE10318}"
 +#define DEVICE_PREFIX "\\Device\\TORNPF_"
++#define NETGUIDLEN 38
 +
 +static int get_net_device_guid(
 +    char *name,

 #else
diff -Naur orig-qemu-0.9.1/vl.c mod-qemu-0.9.1/vl.c
--- orig-qemu-0.9.1/vl.c	2008-01-06 19:38:42.000000000 +0000
+++ mod-qemu-0.9.1/vl.c	2008-10-05 03:16:48.525662304 +0000
@@ -3858,6 +3858,249 @@
 
 #endif /* CONFIG_SLIRP */
 

     QEMU_OPTION_m,
     QEMU_OPTION_nographic,
     QEMU_OPTION_portrait,
@@ -7746,9 +8011,6 @@
     { "pflash", HAS_ARG, QEMU_OPTION_pflash },
     { "boot", HAS_ARG, QEMU_OPTION_boot },
     { "snapshot", 0, QEMU_OPTION_snapshot },
