Update to 0.10.3 - from the official changelog:

- fix AIO cancellations (Avi Kivity)
  - fix live migration error path on incoming
  - avoid SEGV on pci hotplug failure (Chris Wright)
  - fix serial option in -drive
  - support DDIM for option roms (Glauber Costa)
  - avoid fork/exec on pre-2.6.27 kernels with KVM (Jan Kiszka)
  - block-vpc: don't silently create smaller images than requested (Kevin Wolf)
  - Fix non-ACPI timer interrupt routing (Beth Kon)
  - hpet: fix emulation of HPET_TN_SETVAL (Jan Kiszka)
  - kvm: fix cpuid initialization (Jan Kiszka)
  - qcow2: fix corruption on little endian hosts (Kevin Wolf)
  - avoid leaing memory on hot unplug (Mark McLoughlin)
  - fix savevm/migration after hot unplug (Mark McLoughlin)
  - Fix keyboard mapping on newer Xords with non-default keymaps (balrog)
  - Make PCI config status register read-only (Anthony Liguori)
  - Fix crash on resolution change -> screen dump -> vga redraw (Avi Kivity)
This commit is contained in:
Juergen Lock 2009-05-01 18:47:10 +00:00
parent 729df3ac44
commit 356555b4a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233091
3 changed files with 15 additions and 7 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= qemu
PORTVERSION= 0.10.2
PORTVERSION= 0.10.3
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SAVANNAH} \
http://bellard.org/qemu/

View File

@ -1,3 +1,3 @@
MD5 (qemu/qemu-0.10.2.tar.gz) = 85a323cdf620687f39c5328f450a547d
SHA256 (qemu/qemu-0.10.2.tar.gz) = fb93a49b2999a4572337fc9012c1b64be1095477446edda1a885b20387ec9a69
SIZE (qemu/qemu-0.10.2.tar.gz) = 3658623
MD5 (qemu/qemu-0.10.3.tar.gz) = 320d6c536c8a1288cdc6c809f487e6d7
SHA256 (qemu/qemu-0.10.3.tar.gz) = 89540d7a8c880a6ae33f8a55d55d580f3f03c10b02e32b7323719b3354f7b077
SIZE (qemu/qemu-0.10.3.tar.gz) = 3661566

View File

@ -101,7 +101,7 @@ Index: net.c
#if defined(CONFIG_SLIRP)
#include "libslirp.h"
#endif
@@ -450,6 +457,164 @@
@@ -481,6 +488,172 @@
return max_len;
}
@ -133,6 +133,14 @@ Index: net.c
+ pcap_dispatch(s->handle, 1, (pcap_handler)&pcap_callback, (u_char *)s->vc);
+}
+
+static void pcap_cleanup(VLANClientState *vc)
+{
+ PCAPState *s = vc->opaque;
+
+ pcap_close(s->handle);
+ qemu_free(s);
+}
+
+static int net_pcap_init(VLANState *vlan, const char *model, const char *name, char *ifname)
+{
+ PCAPState *s = NULL;
@ -230,7 +238,7 @@ Index: net.c
+#endif /* HAVE_BPF */
+#endif /* _WIN32 */
+
+ s->vc = qemu_new_vlan_client(vlan, model, name, pcap_receive, NULL, s);
+ s->vc = qemu_new_vlan_client(vlan, model, name, pcap_receive, NULL, pcap_cleanup, s);
+ snprintf(s->vc->info_str, sizeof(s->vc->info_str), "pcap redirector");
+
+#if defined(_WIN32)
@ -266,7 +274,7 @@ Index: net.c
#if defined(CONFIG_SLIRP)
/* slirp network adapter */
@@ -1681,6 +1846,16 @@
@@ -1755,6 +1928,16 @@
are wanted */
ret = 0;
} else