[Qemu-devel] [PATCH 02/15] net: move net-checksum.c under net/

2009-10-22 Thread Mark McLoughlin
Also add a new net/checksum.h header Signed-off-by: Mark McLoughlin --- Makefile|4 +- hw/e1000.c |1 + hw/virtio-net.c |1 + hw/xen_nic.c|1 + net-checksum.c | 86 --- net.h |7 net

[Qemu-devel] [PATCH 07/15] net: split BSD tap_open() out into net/tap-bsd.c

2009-10-22 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin --- Makefile |1 + net/tap-bsd.c | 62 + net/tap.c | 50 +++-- net/tap.h |2 + 4 files changed, 69 insertions(+), 46 deletions(-) create mode

[Qemu-devel] [PATCH 04/15] net: move more stuff into net/tap-win32.c, add net/tap.h

2009-10-22 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin --- hw/virtio-net.c |1 + net.c | 75 -- net.h |5 --- net/tap-win32.c | 48 +- net/tap.h | 42 ++ sysemu.h

[Qemu-devel] [PATCH 05/15] net: move tap-linux.h under net/

2009-10-22 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin --- net.c |2 +- net/tap-linux.h | 51 +++ tap-linux.h | 51 --- 3 files changed, 52 insertions(+), 52 deletions(-) create mode 100644 net/tap

[Qemu-devel] [PATCH 14/15] net: move tap_set_offload() code into tap-linux.c

2009-10-22 Thread Mark McLoughlin
TUNSETOFFLOAD is only available on Linux Signed-off-by: Mark McLoughlin --- net/tap-aix.c |5 + net/tap-bsd.c |5 + net/tap-linux.c | 26 ++ net/tap-solaris.c |5 + net/tap.c | 21 + net/tap.h

[Qemu-devel] [PATCH 08/15] net: move solaris code to net/tap-solaris.c

2009-10-22 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin --- Makefile |1 + net/tap-solaris.c | 185 + net/tap.c | 168 +--- net/tap.h |2 + 4 files changed, 191 insertions(+), 165 deletions

[Qemu-devel] [PATCH 12/15] net: move tap_set_sndbuf() to tap-linux.c

2009-10-22 Thread Mark McLoughlin
TUNSETSNDBUF is only available on linux Signed-off-by: Mark McLoughlin --- net/tap-aix.c |6 ++ net/tap-bsd.c |5 + net/tap-linux.c | 23 +++ net/tap-solaris.c |5 + net/tap.c | 25 + net/tap.h

[Qemu-devel] [PATCH 17/19] Work around dhclient brokenness

2009-10-22 Thread Mark McLoughlin
ng to update the guest kernels. Signed-off-by: Anthony Liguori Signed-off-by: Mark McLoughlin --- hw/virtio-net.c | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/hw/virtio-net.c b/hw/virtio-net.c index 3fb10a2..e00c404 100644 --- a/hw/virtio-

[Qemu-devel] [PATCH 10/15] build: add CONFIG_LINUX

2009-10-22 Thread Mark McLoughlin
So I can add a tap-linux.c and use CONFIG_LINUX to pull it in in Makefile Signed-off-by: Mark McLoughlin --- configure |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 43d87c5..4ccdebe 100755 --- a/configure +++ b/configure @@ -1897,6

[Qemu-devel] [PATCH 16/19] virtio-net: enable tap offload if guest supports it

2009-10-22 Thread Mark McLoughlin
We query the guest's feature set to see if it supports offload and, if so, we enable those features on the tap interface. Signed-off-by: Mark McLoughlin --- hw/virtio-net.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/hw/virtio-net.c b/hw/v

[Qemu-devel] [PATCH 09/15] net: move AIX code into net/tap-aix.c

2009-10-22 Thread Mark McLoughlin
Okay, this makes the tap options available on AIX even though there's no support, but if we want to do it right we should have not compile the tap code at all on AIX using e.g. CONFIG_TAP. Signed-off-by: Mark McLoughlin --- Makefile |1 + net.c |2 -- net/tap-aix.c |

[Qemu-devel] [PATCH 06/19] net: add a vnet_hdr=on|off parameter

2009-10-22 Thread Mark McLoughlin
host which does support it. Signed-off-by: Mark McLoughlin --- net.c | 42 -- qemu-options.hx |4 +++- 2 files changed, 35 insertions(+), 11 deletions(-) diff --git a/net.c b/net.c index fccabdb..d62ab7b 100644 --- a/net.c +++ b/net.c

[Qemu-devel] [PATCH 11/15] net: move linux code into net/tap-linux.c

2009-10-22 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin --- Makefile|1 + net/tap-linux.c | 78 +++ net/tap.c | 47 - 3 files changed, 79 insertions(+), 47 deletions(-) create mode 100644 net/tap-linux.c diff

[Qemu-devel] [PATCH 15/15] net: move UFO support detection to tap-linux.c

2009-10-22 Thread Mark McLoughlin
Only supported on Linux Signed-off-by: Mark McLoughlin --- net/tap-aix.c |5 + net/tap-bsd.c |5 + net/tap-linux.c | 12 net/tap-solaris.c |5 + net/tap.c |7 +-- net/tap.h |1 + 6 files changed, 29 insertions(+), 6

[Qemu-devel] [PATCH 15/19] net: add tap_set_offload()

2009-10-22 Thread Mark McLoughlin
This API allows virtio-net to enable various offload features on a tap interface - e.g. to tell the host kernel it can pass up partial checksums to userspace. Signed-off-by: Mark McLoughlin --- net.c | 24 net.h |1 + tap-linux.h |7 +++ 3

[Qemu-devel] [PATCH 12/19] net: use qemu_send_packet_raw() in qemu_announce_self()

2009-10-22 Thread Mark McLoughlin
s not associated with a vlan. Signed-off-by: Gleb Natapov Signed-off-by: Mark McLoughlin --- savevm.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/savevm.c b/savevm.c index 99aa15a..ac1ef42 100644 --- a/savevm.c +++ b/savevm.c @@ -114,8 +114,6 @@ stati

[Qemu-devel] [PATCH 11/19] net: add receive_raw parameter to qemu_new_vlan_client()

2009-10-22 Thread Mark McLoughlin
Trivial patch to allow supplying a receive_raw function. A future cleanup should combine this function pointer parameters into a table. Signed-off-by: Mark McLoughlin --- hw/dp8393x.c |2 +- hw/etraxfs_eth.c |2 +- hw/mcf_fec.c |2 +- hw/mipsnet.c |2 +- hw/qdev.c

Re: [Qemu-devel] [PATCH 00/15] Some networking code re-organization

2009-10-23 Thread Mark McLoughlin
On Thu, 2009-10-22 at 15:34 -0500, Anthony Liguori wrote: > Mark McLoughlin wrote: > > Hey, > > We've been meaning to split net.c up for quite a while now, > > so here goes with a first cut at. > > > > There shouldn't be anything too cont

[Qemu-devel] Re: [PATCH 00/15] Some networking code re-organization

2009-10-23 Thread Mark McLoughlin
On Thu, 2009-10-22 at 20:53 +0200, Juan Quintela wrote: > Mark McLoughlin wrote: > > Hey, > > We've been meaning to split net.c up for quite a while now, > > so here goes with a first cut at. > > If you have to respin this series, please use > > git

[Qemu-devel] audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread Mark McLoughlin
Hi, Any ideas on this segfault a Fedora 12 user (Gene, cc-ed) is seeing? Thread 1 (Thread 2849): #0 0x7f25fcd10f70 in memset () from /lib64/libc.so.6 No symbol table info available. #1 0x004babc6 in audio_capture_mix_and_clear (samples=-1099358712, rpos=, hw=) at audio/audio.c:

Re: [Qemu-devel] Re: audio segfault in qemu-kvm-0.11.0

2009-10-23 Thread Mark McLoughlin
On Fri, 2009-10-23 at 17:41 +0400, malc wrote: > On Fri, 23 Oct 2009, malc wrote: > > > On Fri, 23 Oct 2009, Mark McLoughlin wrote: > > > > > Hi, > > > > > > Any ideas on this segfault a Fedora 12 user (Gene, cc-ed) is seeing? > > [..s

Re: [Qemu-devel] net packet storms with multiple NICs

2009-10-23 Thread Mark McLoughlin
On Fri, 2009-10-23 at 20:25 +0400, Michael Tokarev wrote: > I've two questions: > > o what's the intended usage of all-vlan-equal case, when kvm (or qemu) >reflects packets from one interface to another? It's what bridge >in linux is for, I think. I don't think it's necessarily an intend

Re: [Qemu-devel] [PATCH 00/15] Some networking code re-organization

2009-10-23 Thread Mark McLoughlin
On Fri, 2009-10-23 at 08:44 -0500, Anthony Liguori wrote: > Mark McLoughlin wrote: > > On Thu, 2009-10-22 at 15:34 -0500, Anthony Liguori wrote: > > > >> This series doesn't build for me. I get dependency errors even after a > >> full rebuild. I

[Qemu-devel] [PATCH 01/15 v2] net: move net-queue.[ch] under net/

2009-10-23 Thread Mark McLoughlin
[v2: handle building in a separate dir] Signed-off-by: Mark McLoughlin --- Makefile | 10 +++--- configure |2 +- net.h |2 +- net-queue.c => net/queue.c |2 +- net-queue.h => net/queue.h |0 5 files chang

[Qemu-devel] [PATCH 3/5] net/queue: queue packets even if sender doesn't supply a callback

2009-10-27 Thread Mark McLoughlin
Now that we disable any receiver whose queue is full, we do not require senders to handle a zero return by supplying a sent callback. This is a second step towards allowing can_receive() handlers to return true even if no buffer space is available. Signed-off-by: Mark McLoughlin --- net

[Qemu-devel] [PATCH 1/5] tap: disable draining queue in one go

2009-10-27 Thread Mark McLoughlin
time. Reported-by: Scott Tsai Tested-by: Sven Rudolph Signed-off-by: Mark McLoughlin --- net/tap.c | 33 +++-- 1 files changed, 15 insertions(+), 18 deletions(-) diff --git a/net/tap.c b/net/tap.c index 60354e4..f32226b 100644 --- a/net/tap.c +++ b/net/tap.c @@

[Qemu-devel] [PATCH 0/5] Fix packet queueing to allow full tap queue drain

2009-10-27 Thread Mark McLoughlin
Hey, Scott points out that the current behaviour of draining the entire queue in tap_send() doesn't work with non-virtio NICs because we drop a packet when the NIC queue fills up. This series of patches first disables this behaviour, fixes various aspects of the queueing logic and

[Qemu-devel] [PATCH 2/5] net: disable receiving if client returns zero

2009-10-27 Thread Mark McLoughlin
buffer space is available. Signed-off-by: Mark McLoughlin --- net.c | 49 ++--- net.h |1 + 2 files changed, 39 insertions(+), 11 deletions(-) diff --git a/net.c b/net.c index 661bbc1..9dea615 100644 --- a/net.c +++ b/net.c @@ -423,11 +423,13

[Qemu-devel] [PATCH 5/5] tap: drain queue in tap_send()

2009-10-27 Thread Mark McLoughlin
le it. This patch should be a performance improvement since we no longer have to go through the mainloop for each packet. Signed-off-by: Mark McLoughlin --- net/tap.c | 33 ++--- 1 files changed, 18 insertions(+), 15 deletions(-) diff --git a/net/tap.c b/net/tap.c

[Qemu-devel] [PATCH 4/5] virtio-net: split the has_buffers() logic from can_receive()

2009-10-27 Thread Mark McLoughlin
ceive(), but instead just allow receive() to return zero when this condition occurs and have the caller handle queueing the packet. Signed-off-by: Mark McLoughlin --- hw/virtio-net.c | 21 - 1 files changed, 12 insertions(+), 9 deletions(-) diff --git a/hw/virtio-net.c b/h

[Qemu-devel] [PATCH, stable-0.11] net: disable draining tap queue in one go

2009-10-27 Thread Mark McLoughlin
time. Reported-by: Scott Tsai Tested-by: Sven Rudolph Signed-off-by: Mark McLoughlin --- net.c | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/net.c b/net.c index 3d3829d..7466961 100644 --- a/net.c +++ b/net.c @@ -1378,17 +1378,15 @@ static void tap_se

[Qemu-devel] Re: [PATCH 0/5] Fix packet queueing to allow full tap queue drain

2009-10-28 Thread Mark McLoughlin
On Wed, 2009-10-28 at 11:36 +0800, Scott Tsai wrote: > > Scott, Sven, if you could test the tap-drain-queue branch from > > my tree, that would be great: > > http://repo.or.cz/w/qemu/markmc.git > > > > Thanks, > > Mark. > > Mark, > I've tested http://repo.or.cz/w/qemu/markmc.git and it

[Qemu-devel] [PATCH] virtio-net: fix macaddr config regression

2009-10-28 Thread Mark McLoughlin
. Signed-off-by: Mark McLoughlin --- hw/virtio-net.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/virtio-net.c b/hw/virtio-net.c index 93294af..4b09a93 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -837,6 +837,7 @@ VirtIODevice *virtio_net_init(DeviceState *dev

Handling merge conflicts [was Re: [Qemu-devel] [PATCH 00/19 v2] Add virtio-net/tap support for partial csums and GSO]

2009-10-28 Thread Mark McLoughlin
Hi Anthony, Thanks for merging this stuff ... In the process of merging it all into qemu-kvm, I noticed a couple of problems: 1) bb6e63644 lacked the change to add the type code to qemu_new_vlan_client() so that and the subsequent 14 commits are unbuildable 2) 93d

Re: Handling merge conflicts [was Re: [Qemu-devel] [PATCH 00/19 v2] Add virtio-net/tap support for partial csums and GSO]

2009-10-28 Thread Mark McLoughlin
On Wed, 2009-10-28 at 10:26 -0500, Anthony Liguori wrote: > Mark McLoughlin wrote: > > Hi Anthony, > > Thanks for merging this stuff ... > > > > In the process of merging it all into qemu-kvm, I noticed a couple of > > problems: > > > > 1) bb6

Re: [Qemu-devel] qemu-kvm-0.11 regression, crashes on older guests with virtio network

2009-10-29 Thread Mark McLoughlin
Hi Dustin, On Wed, 2009-10-28 at 14:22 -0500, Dustin Kirkland wrote: > I believe that we have identified a regression in qemu-kvm-0.11.0. Regression versus which previous version of qemu-kvm? > The kvm process crashes for older guests with virtio networking, when > the guest's incoming network c

Re: [Qemu-devel] qemu-kvm-0.11 regression, crashes on older guests with virtio network

2009-10-29 Thread Mark McLoughlin
On Thu, 2009-10-29 at 20:00 +0800, Scott Tsai wrote: > Excerpts from Mark McLoughlin's message of Thu Oct 29 17:16:43 +0800 2009: > > Assuming this is something like the virtio-net in 2.6.26, there was no > > receivable buffers support so (as Scott points out) it must be that > > we've read a packe

Re: [Qemu-devel] qemu-kvm-0.11 regression, crashes on older guests with virtio network

2009-10-29 Thread Mark McLoughlin
On Thu, 2009-10-29 at 09:11 -0500, Anthony Liguori wrote: > Mark McLoughlin wrote: > > > >>tap_set_offload(csum: 1, tso4: 1, tso6: 1, ecn: 1) > >> being called and get an mtu of 1500 on virbr0 using his birdge.sh script. > >> > >> virtio_net_recei

Re: [Qemu-devel] qemu-kvm-0.11 regression, crashes on older guests with virtio network

2009-10-29 Thread Mark McLoughlin
On Thu, 2009-10-29 at 09:39 -0500, Anthony Liguori wrote: > Mark McLoughlin wrote: > > On Thu, 2009-10-29 at 09:11 -0500, Anthony Liguori wrote: > > > >> Mark McLoughlin wrote: > >> > >>>> tap_set_offload(csum: 1, tso4: 1, tso6: 1, ecn:

Re: [Qemu-devel] qemu-kvm-0.11 regression, crashes on older guests with virtio network

2009-10-29 Thread Mark McLoughlin
On Thu, 2009-10-29 at 09:46 -0500, Dustin Kirkland wrote: > On Thu, 2009-10-29 at 09:34 -0500, Dustin Kirkland wrote: > > In the mean time, Hardy's kernel is in git here: > > > > http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=summary > > I'll save you a few clicks... > > http://kernel.

Re: [Qemu-devel] qemu-kvm-0.11 regression, crashes on older guests with virtio network

2009-10-29 Thread Mark McLoughlin
On Thu, 2009-10-29 at 10:01 -0500, Dustin Kirkland wrote: > On Thu, 2009-10-29 at 14:48 +0000, Mark McLoughlin wrote: > > Ah, it all makes sense now. > > > > I was getting confused between HOST_* and GUEST_* > > > > this should have been: > > >

Re: [Qemu-devel] qemu-kvm-0.11 regression, crashes on older guests with virtio network

2009-10-29 Thread Mark McLoughlin
On Thu, 2009-10-29 at 10:13 -0500, Dustin Kirkland wrote: > On Thu, 2009-10-29 at 15:01 +0000, Mark McLoughlin wrote: > > Sorry, should be VIRTIO_NET_F_CSUM ... the rest is correct > > Brilliant! > > Works like a champ. I'll send a patch in a subsequent email. Would

Re: [Qemu-devel] [PATCH 5/5] tap: drain queue in tap_send()

2009-10-30 Thread Mark McLoughlin
On Fri, 2009-10-30 at 11:21 -0500, Anthony Liguori wrote: > Mark McLoughlin wrote: > > Okay, let's try re-enabling the drain-entire-queue behaviour, with a > > difference - before each subsequent packet, use qemu_can_send_packet() > > to check that we can send it. This

Re: [Qemu-devel] [PATCH 00/19 v2] Add virtio-net/tap support for partial csums and GSO

2009-10-30 Thread Mark McLoughlin
Hi, On Fri, 2009-10-30 at 11:04 +0100, juha.riihim...@nokia.com wrote: > On Oct 22, 2009, at 19:43, ext Mark McLoughlin wrote: > > > Hey, > >Over a year ago we added some code to qemu-kvm.git which takes > > advantage of the recent tun/tap IFF_VNET_HDR f

[Qemu-devel] Re: [PATCH] whitelist host virtio networking features [was Re: qemu-kvm-0.11 regression, crashes on older ...]

2009-11-02 Thread Mark McLoughlin
On Fri, 2009-10-30 at 16:15 -0500, Dustin Kirkland wrote: > On Thu, Oct 29, 2009 at 10:34 AM, Dustin Kirkland > wrote: > > whitelist host virtio networking features > > > > This patch is a followup to 8eca6b1bc770982595db2f7207c65051572436cb, > > fixing crashes when guests with 2.6.25 virtio drive

[Qemu-devel] preadv/pwritev data corruption on 32 bit

2009-11-05 Thread Mark McLoughlin
Hey, Just a heads up - on 32 bit hosts where qemu was using preadv and pwritev, we were seeing data corruption due to file offset being truncated: https://bugzilla.redhat.com/533063 https://bugzilla.redhat.com/526549 The glibc headers fix is posted here: http://sources.redh

Re: [Qemu-devel] [PATCH 00/16] Add a -netdev option

2009-11-10 Thread Mark McLoughlin
On Tue, 2009-11-10 at 15:44 +, Paul Brook wrote: > On Thursday 08 October 2009, Mark McLoughlin wrote: > > Hi, > > Here's a series of patches which gets the ball rolling on adding > > a -netdev option. > >... > > The idea is to de-emphas

Re: [Qemu-devel] [PATCH] Fix incoming migration

2009-11-10 Thread Mark McLoughlin
On Fri, 2009-11-06 at 15:58 +0100, Juan Quintela wrote: > commit b04c4134d6de28c249277de19e523bfbe4aebbd6 > broke incoming migration. After talking with Gleb, code was intended > to be the way is in this fix. This fixes migration here. Tried to reproduce and it works fine for me. More details?

[Qemu-devel] Re: [PATCH] Fix incoming migration

2009-11-10 Thread Mark McLoughlin
On Tue, 2009-11-10 at 18:03 +0100, Juan Quintela wrote: > Mark McLoughlin wrote: > > On Fri, 2009-11-06 at 15:58 +0100, Juan Quintela wrote: > >> commit b04c4134d6de28c249277de19e523bfbe4aebbd6 > >> broke incoming migration. After talking with Gleb, code was intend

Re: [Qemu-devel] Problems with bridge Networking

2009-11-11 Thread Mark McLoughlin
On Thu, 2009-11-12 at 03:31 +, Armin Garcia wrote: > I have the next problem I configure the tun/tap and all great any error, > I have an IP from my dhcp, I can see my virtual machine (winxp) from my > other computers, but In my virtual machine I cant connect to internet, > I mean, whe

[Qemu-devel] [PATCH 5/7] qdev: add qdev_foreach()

2009-11-12 Thread Mark McLoughlin
No doubt this is the worst idea ever, but the requirement is simple - some way to iterate all NICs in the system. Signed-off-by: Mark McLoughlin --- hw/qdev.c | 20 hw/qdev.h |3 +++ 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c

[Qemu-devel] [PATCH 6/7] qdev: add qdev_prop_get_{macaddr, net_client}()

2009-11-12 Thread Mark McLoughlin
Probably the second worst idea in the world, ever. While iterating over all NICs in the system, we need to be able to query their 'net-client' and 'macaddr' properties. Signed-off-by: Mark McLoughlin --- hw/qdev-properties.c | 31 --- hw/qdev

[Qemu-devel] [PATCH 1/7] net: remove NICInfo::vc

2009-11-12 Thread Mark McLoughlin
Since 1cc33683, this field is not set for most devices, so just remove it and its remaining few uses. Signed-off-by: Mark McLoughlin --- hw/dp8393x.c | 10 +- hw/etraxfs_eth.c | 10 +- hw/mcf_fec.c | 10 +- hw/mipsnet.c | 10 +- hw/usb-net.c

[Qemu-devel] [RFC PATCH 0/7] Fix qemu_announce_self() properly

2009-11-12 Thread Mark McLoughlin
Hi, The recent "fix" to qemu_announce_self() will segfault if you use -netdev. The real root cause of the regression was the removal of the assignment to NICInfo::vc that used to live in qdev_get_vlan_client(). Now that NICs are qdev-ified, we should just iterate over the qdev tre

[Qemu-devel] [PATCH 7/7] net: fix qemu_announce_self()

2009-11-12 Thread Mark McLoughlin
Now that we have a sane way of iterating over NICs. Signed-off-by: Mark McLoughlin --- savevm.c | 43 ++- 1 files changed, 26 insertions(+), 17 deletions(-) diff --git a/savevm.c b/savevm.c index 039740c..3736588 100644 --- a/savevm.c +++ b/savevm.c

[Qemu-devel] [PATCH 2/7] qdev: add "net-client" property

2009-11-12 Thread Mark McLoughlin
vlan. Another advantage is that we can easily get the client associated with a qdev. Signed-off-by: Mark McLoughlin --- hw/qdev-properties.c | 25 + hw/qdev.h|5 + net.h|8 +--- 3 files changed, 35 insertions(+), 3 deletions(-

[Qemu-devel] [PATCH 3/7] net: create the VLANClientState for NICs early

2009-11-12 Thread Mark McLoughlin
Signed-off-by: Mark McLoughlin --- hw/dp8393x.c| 10 +- hw/e1000.c | 10 +- hw/eepro100.c | 10 +- hw/etraxfs_eth.c| 11 +-- hw/mcf_fec.c| 10 +- hw/mipsnet.c| 15 ++- hw/musicpal.c

[Qemu-devel] [PATCH 4/7] net: kill off NICInfo/NICConf::vlan/netdev

2009-11-12 Thread Mark McLoughlin
No valid users left except the announce_self() code which currently crashes when used with -netdev. Note the assertion in the xen code. Need to figure out how to support the -netdev arg with xen. Signed-off-by: Mark McLoughlin --- hw/integratorcp.c|3 +- hw/mcf5208.c |3

Re: [Qemu-devel] [PATCH 7/7] net: fix qemu_announce_self()

2009-11-12 Thread Mark McLoughlin
On Thu, 2009-11-12 at 20:29 +, Mark McLoughlin wrote: ... > +printf("qemu_announce_self_iter() mac = %p\n", mac); > + > +len = announce_self_create(buf, mac); > + > +printf("sending packet from %s\n", client->name); Ooops, some debugging

[Qemu-devel] Re: [PATCH 5/7] qdev: add qdev_foreach()

2009-11-20 Thread Mark McLoughlin
Hi Gerd, Thanks for looking, you're absolutely right that this approach just isn't right with e.g. -device On Mon, 2009-11-16 at 10:28 +0100, Gerd Hoffmann wrote: > On 11/12/09 21:29, Mark McLoughlin wrote: > > No doubt this is the worst idea ever, but the requirement is simpl

[Qemu-devel] [PATCH] slirp: fix use-after-free

2009-11-20 Thread Mark McLoughlin
460fec67ee introduced a use-after free in slirp. Cc: Jan Kiszka Signed-off-by: Mark McLoughlin --- Untested fix, but it's obvious. Also, this is needed on stable-0.11. slirp/mbuf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/slirp/mbuf.c b/slirp/mbuf.c

[Qemu-devel] Notes on the QCOW format

2006-07-02 Thread Mark McLoughlin
Hi, I wrote up some notes on the QCOW format: http://www.gnome.org/~markmc/qcow-image-format.html Perhaps worth including in QEMU itself? Cheers, Mark. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailm

Re: [Qemu-devel] Notes on the QCOW format

2006-07-03 Thread Mark McLoughlin
mentation html page. I can > also commit it in the QEMU sources if you want. > > Regards, > > Fabrice. > > Mark McLoughlin wrote: > > Hi, > > I wrote up some notes on the QCOW format: > > > > http://www.gnome.org/~markmc/qcow-image-form

[Qemu-devel] Notes on the QCOW format

2006-08-20 Thread Mark McLoughlin
Hi, I wrote up some notes on the QCOW format: http://www.gnome.org/~markmc/qcow-image-format.html Perhaps worth including in QEMU itself? Cheers, Mark. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailm

<    1   2