mirror of https://github.com/xemu-project/xemu.git
Revert commit r4342 and r4343, wasn't intended to be committed
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4346 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
fd501a05c6
commit
cb7cca1a1c
|
@ -19,7 +19,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* allow to see translation results - the slowdown should be negligible, so we leave it */
|
/* allow to see translation results - the slowdown should be negligible, so we leave it */
|
||||||
//#define DEBUG_DISAS
|
#define DEBUG_DISAS
|
||||||
|
|
||||||
/* is_jmp field values */
|
/* is_jmp field values */
|
||||||
#define DISAS_NEXT 0 /* next instruction can be analyzed */
|
#define DISAS_NEXT 0 /* next instruction can be analyzed */
|
||||||
|
|
1
vl.c
1
vl.c
|
@ -4030,7 +4030,6 @@ static TAPState *net_tap_fd_init(VLANState *vlan, int fd)
|
||||||
if (!s)
|
if (!s)
|
||||||
return NULL;
|
return NULL;
|
||||||
s->fd = fd;
|
s->fd = fd;
|
||||||
enable_sigio_timer(fd);
|
|
||||||
s->vc = qemu_new_vlan_client(vlan, tap_receive, NULL, s);
|
s->vc = qemu_new_vlan_client(vlan, tap_receive, NULL, s);
|
||||||
qemu_set_fd_handler(s->fd, tap_send, NULL, s);
|
qemu_set_fd_handler(s->fd, tap_send, NULL, s);
|
||||||
snprintf(s->vc->info_str, sizeof(s->vc->info_str), "tap: fd=%d", fd);
|
snprintf(s->vc->info_str, sizeof(s->vc->info_str), "tap: fd=%d", fd);
|
||||||
|
|
Loading…
Reference in New Issue