Re: [Qemu-devel] [PATCH 4/5] boards: switch machine type list to QTAILQ

2012-02-24 Thread Andreas Färber
Am 24.02.2012 15:56, schrieb Luiz Capitulino: > On Fri, 24 Feb 2012 15:23:43 +0100 > Andreas Färber wrote: > >> Am 24.02.2012 15:13, schrieb Luiz Capitulino: >>> Signed-off-by: Luiz Capitulino >> >> Unless this fixes a bug, I'd rather not refactor this as in my head this >> is already just objec

Re: [Qemu-devel] [PATCH 0/5]: Improve machine type functions

2012-02-24 Thread Luiz Capitulino
On Fri, 24 Feb 2012 08:58:55 -0600 Anthony Liguori wrote: > On 02/24/2012 08:13 AM, Luiz Capitulino wrote: > > I was reading some related code yesterday and couldn't resist improving > > this. > > Not sure if this is aligned with any possible QOM work in this area, but I'm > > posting this anywa

Re: [Qemu-devel] [PATCH 3/5] boards: introduce machine_print_all()

2012-02-24 Thread Luiz Capitulino
On Fri, 24 Feb 2012 15:26:36 +0100 Andreas Färber wrote: > Am 24.02.2012 15:13, schrieb Luiz Capitulino: > > Print all registered machine types. > > > > Signed-off-by: Luiz Capitulino > > I'm okay with the code movement, but is there a reason not to make it > static? I can make it static. >

Re: [Qemu-devel] [PATCH] qom: Make object_unref() free the object's memory when refcount goes to 0.

2012-02-24 Thread Anthony Liguori
On 02/23/2012 10:21 AM, Alexander Barabash wrote: On 02/22/2012 09:12 PM, Anthony Liguori wrote: On 02/22/2012 12:00 PM, alexander_barab...@mentor.com wrote: From: Alexander Barabash In the existing implementation, object_delete() calls object_unref(), then frees the object's storage. Running

Re: [Qemu-devel] [PATCH 5/5] boards: move all machine type functions to boards.c

2012-02-24 Thread Andreas Färber
Am 24.02.2012 15:13, schrieb Luiz Capitulino: > The license text is the same as used in vl.c. Also note that it's > necessary to make machine_parse() public. > > Signed-off-by: Luiz Capitulino > --- > Makefile.target |3 +- > hw/boards.c | 86 >

Re: [Qemu-devel] [PATCH v2] net: add the support for -netdev socket, listen

2012-02-24 Thread Anthony Liguori
On 02/18/2012 03:19 AM, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu The -net socket,listen option does not work with the newer -netdev syntax: http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01508.html This patch makes it work now. Signed-off-by: Zhi Yong Wu --- net.c| 26

Re: [Qemu-devel] [PATCH 0/5]: Improve machine type functions

2012-02-24 Thread Anthony Liguori
On 02/24/2012 08:13 AM, Luiz Capitulino wrote: I was reading some related code yesterday and couldn't resist improving this. Not sure if this is aligned with any possible QOM work in this area, but I'm posting this anyway... I'm not sure how easy this is, but the way to do this with QOM would b

Re: [Qemu-devel] [PATCH 1/7] Introduce a new bus "ICC" to connect APIC

2012-02-24 Thread Anthony Liguori
On 02/24/2012 07:50 AM, Paolo Bonzini wrote: On 02/24/2012 02:47 PM, Anthony Liguori wrote: I agree with you in principle, but in practice, there is not obvious way to serialize gpio_in/gpio_out via Visitors. Finding some way to do it as an integer is clearly wrong IMHO. "%s/gpio_in[%d]" %

[Qemu-devel] [PATCH 5/5] boards: move all machine type functions to boards.c

2012-02-24 Thread Luiz Capitulino
The license text is the same as used in vl.c. Also note that it's necessary to make machine_parse() public. Signed-off-by: Luiz Capitulino --- Makefile.target |3 +- hw/boards.c | 86 +++ hw/boards.h |1 + vl.c|

[Qemu-devel] [PATCH 3/5] boards: introduce machine_print_all()

2012-02-24 Thread Luiz Capitulino
Print all registered machine types. Signed-off-by: Luiz Capitulino --- hw/boards.h |1 + vl.c| 25 - 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/hw/boards.h b/hw/boards.h index 098cbb7..342a774 100644 --- a/hw/boards.h +++ b/hw/boards.h @

[Qemu-devel] [PATCH 4/5] boards: switch machine type list to QTAILQ

2012-02-24 Thread Luiz Capitulino
Signed-off-by: Luiz Capitulino --- hw/boards.h |3 ++- vl.c| 16 ++-- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/hw/boards.h b/hw/boards.h index 342a774..1eb8314 100644 --- a/hw/boards.h +++ b/hw/boards.h @@ -4,6 +4,7 @@ #define HW_BOARDS_H #incl

Re: [Qemu-devel] [PATCH 3/5] boards: introduce machine_print_all()

2012-02-24 Thread Andreas Färber
Am 24.02.2012 15:13, schrieb Luiz Capitulino: > Print all registered machine types. > > Signed-off-by: Luiz Capitulino I'm okay with the code movement, but is there a reason not to make it static? Needs a rebase due to 10 -> 20 bump by Peter. Andreas > --- > hw/boards.h |1 + > vl.c

[Qemu-devel] [PATCH 2/5] boards: rename machine type functions

2012-02-24 Thread Luiz Capitulino
Perform the following renames: o qemu_register_machine() -> machine_register() o find_machine() -> machine_find() o find_default_machine() -> machine_find_default() Signed-off-by: Luiz Capitulino --- hw/alpha_dp264.c |2 +- hw/an5206.c |2 +- hw/axis_d

Re: [Qemu-devel] [PATCH 4/5] boards: switch machine type list to QTAILQ

2012-02-24 Thread Andreas Färber
Am 24.02.2012 15:13, schrieb Luiz Capitulino: > Signed-off-by: Luiz Capitulino Unless this fixes a bug, I'd rather not refactor this as in my head this is already just object_class_foreach() / object_class_by_name(), similar to CPUs on my qom-cpu branch. Andreas > --- > hw/boards.h |3 ++-

Re: [Qemu-devel] [PATCH 1/5] boards: qemu_register_machine(): return void

2012-02-24 Thread Andreas Färber
Am 24.02.2012 15:13, schrieb Luiz Capitulino: > It never fails. ...and is never checked. Low-impact cleanup, thanks. > > Signed-off-by: Luiz Capitulino Reviewed-by: Andreas Färber Andreas > --- > hw/boards.h |2 +- > vl.c|3 +-- > 2 files changed, 2 insertions(+), 3 deletio

[Qemu-devel] [PATCH 1/5] boards: qemu_register_machine(): return void

2012-02-24 Thread Luiz Capitulino
It never fails. Signed-off-by: Luiz Capitulino --- hw/boards.h |2 +- vl.c|3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/boards.h b/hw/boards.h index 667177d..7a9899f 100644 --- a/hw/boards.h +++ b/hw/boards.h @@ -31,7 +31,7 @@ typedef struct QEMUMachin

[Qemu-devel] [PATCH 0/5]: Improve machine type functions

2012-02-24 Thread Luiz Capitulino
I was reading some related code yesterday and couldn't resist improving this. Not sure if this is aligned with any possible QOM work in this area, but I'm posting this anyway... Makefile.target |3 +- hw/alpha_dp264.c |2 +- hw/an5206.c |2

Re: [Qemu-devel] [RFC] sdl: initialize all graphic consoles

2012-02-24 Thread Stefano Stabellini
On Thu, 23 Feb 2012, Anthony Liguori wrote: > > diff --git a/console.c b/console.c > > index 135394f..2c413a7 100644 > > --- a/console.c > > +++ b/console.c > > @@ -1376,6 +1376,9 @@ DisplayState *get_displaystate(void) > > if (!display_state) { > > dumb_display_init (); > > }

[Qemu-devel] [PATCH 3/3] slirp/misc: fix gcc __warn_memset_zero_len warnings

2012-02-24 Thread Stefan Hajnoczi
From: Alon Levy By removing memset altogether (Patch from Stefan Hajnoczi, tested compile only by me). Signed-off-by: Alon Levy Signed-off-by: Stefan Hajnoczi --- slirp/misc.c | 21 +++-- 1 files changed, 7 insertions(+), 14 deletions(-) diff --git a/slirp/misc.c b/slirp/mi

[Qemu-devel] [PATCH 2/3] vl.c: Increase width of machine name column in "-M ?" output

2012-02-24 Thread Stefan Hajnoczi
From: Peter Maydell Increase the width of the column used for the machine name in the "-M ?" output from 10 to 20 spaces. This fixes the formatting so it looks nice for architectures where a few of the machines have overly long names. (Our current longest machine name is "petalogix-s3adsp1800" wi

[Qemu-devel] [PATCH 1/3] tcg: Remove unneeded include statements

2012-02-24 Thread Stefan Hajnoczi
From: Stefan Weil The standard include files are already included in qemu-common.h. malloc.h and alloca.h were needed for alloca() which was removed from TCG code some years ago when switching from dyngen to TCG (see commit 49516bc0d622112caac9df628caf19010fda8b67). Signed-off-by: Stefan Weil

[Qemu-devel] [PULL 0/3] Trivial patches for 11 to 24 February 2012

2012-02-24 Thread Stefan Hajnoczi
The following changes since commit 235fe3bfd46b1104575b540d0bc3fdf584030b99: qom: add test tools (2012-02-22 12:18:26 -0600) are available in the git repository at: git://github.com/stefanha/qemu.git trivial-patches for you to fetch changes up to f293d8b1f26953ccaef794785cea0619d4f8c268:

Re: [Qemu-devel] [PATCH v4 14/18] virtio-scsi: process control queue requests

2012-02-24 Thread Paolo Bonzini
On 02/24/2012 08:54 AM, Hu Tao wrote: > diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c > index 380073a..1f3b851 100644 > --- a/hw/virtio-scsi.c > +++ b/hw/virtio-scsi.c > @@ -239,7 +239,7 @@ static VirtIOSCSIReq *virtio_scsi_pop_req(VirtIOSCSI *s, > VirtQueue *vq) > > static void virtio_scsi_

Re: [Qemu-devel] [PATCH 1/7] Introduce a new bus "ICC" to connect APIC

2012-02-24 Thread Paolo Bonzini
On 02/24/2012 02:47 PM, Anthony Liguori wrote: >> > > I agree with you in principle, but in practice, there is not obvious way > to serialize gpio_in/gpio_out via Visitors. Finding some way to do it > as an integer is clearly wrong IMHO. "%s/gpio_in[%d]" % (object_get_canonical_path(...), opaque

Re: [Qemu-devel] [PATCH 1/7] Introduce a new bus "ICC" to connect APIC

2012-02-24 Thread Anthony Liguori
On 02/24/2012 07:40 AM, Paolo Bonzini wrote: On 02/24/2012 02:30 PM, Andreas Färber wrote: SysBus is supposed to go away in Anthony's upcoming 4th QOM series, so I'd rather not base a new series on that. Not sure about that. I haven't understood well the scope of the series, but I think it on

Re: [Qemu-devel] [PATCH 1/7] Introduce a new bus "ICC" to connect APIC

2012-02-24 Thread Paolo Bonzini
On 02/24/2012 02:30 PM, Andreas Färber wrote: > SysBus is supposed to go away in Anthony's upcoming 4th QOM series, so > I'd rather not base a new series on that. Not sure about that. I haven't understood well the scope of the series, but I think it only converted buses to QOM, it didn't kill the

Re: [Qemu-devel] [PATCH 1/7] Introduce a new bus "ICC" to connect APIC

2012-02-24 Thread Andreas Färber
Am 24.02.2012 14:05, schrieb Igor Mammedov: > On 02/17/2012 06:02 PM, Igor Mammedov wrote: >> So I'd rather drop ICC patch and try your approach with CPU links<>, I >> see no >> point in introducing new bus providing we have an alternative model >> and existing >> bus for the task. > > I've looked

Re: [Qemu-devel] [PATCH 2/2] Add the blockdev-reopen and blockdev-migrate commands

2012-02-24 Thread Paolo Bonzini
On 02/24/2012 01:03 PM, Kevin Wolf wrote: >> + loop: >> +if (!(i < sizeof(filename) - 2)) { >> +error_set(errp, QERR_INVALID_PARAMETER_VALUE, >> + "new-image-file", "shorter filename"); >> +return; >> +} >> + >> +

Re: [Qemu-devel] [PATCH 1/2] block: add the support for draining the throttled request queue

2012-02-24 Thread Zhi Yong Wu
On Fri, Feb 24, 2012 at 7:18 PM, Stefan Hajnoczi wrote: > On Fri, Feb 24, 2012 at 05:25:08PM +0800, Zhi Yong Wu wrote: >> On Fri, Feb 24, 2012 at 4:49 PM, Stefan Hajnoczi wrote: >> > On Mon, Feb 20, 2012 at 12:50:30PM +0800, zwu.ker...@gmail.com wrote: >> >> From: Zhi Yong Wu >> >> >> >> If one

Re: [Qemu-devel] [PATCH 1/7] Introduce a new bus "ICC" to connect APIC

2012-02-24 Thread Igor Mammedov
On 02/17/2012 06:02 PM, Igor Mammedov wrote: On 02/16/2012 01:42 PM, Anthony Liguori wrote: On 02/16/2012 05:25 AM, Jan Kiszka wrote: On 2012-02-16 00:16, Igor Mammedov wrote: Introduce a new structure CPUS as the controller of ICC (INTERRUPT CONTROLLER COMMUNICATIONS), and new bus "ICC" to ho

Re: [Qemu-devel] [PATCH 1/2] block: add the support for draining the throttled request queue

2012-02-24 Thread Paolo Bonzini
On 02/24/2012 09:49 AM, Stefan Hajnoczi wrote: >> > +void bdrv_drain_request(BlockDriverState *throttled_bs) >> > { >> > BlockDriverState *bs; >> > >> > +QTAILQ_FOREACH(bs, &bdrv_states, list) { >> > +if (throttled_bs && throttled_bs != bs) { >> > +continue; >> > +

Re: [Qemu-devel] [PATCH 2/2] Add the blockdev-reopen and blockdev-migrate commands

2012-02-24 Thread Federico Simoncelli
- Original Message - > From: "Kevin Wolf" > To: "Federico Simoncelli" > Cc: qemu-devel@nongnu.org, "Marcelo Tosatti" , > lcapitul...@redhat.com, "Paolo Bonzini" > , "Markus Armbruster" > Sent: Friday, February 24, 2012 1:03:08 PM > Subject: Re: [PATCH 2/2] Add the blockdev-reopen and bl

Re: [Qemu-devel] [libvirt] Add GSoC project ideas to the wiki!

2012-02-24 Thread Stefan Hajnoczi
On Fri, Feb 24, 2012 at 10:38 AM, Michal Privoznik wrote: > On 24.02.2012 10:19, Stefan Hajnoczi wrote: > Thank you for the opportunity. I was personally thinking about something > libvirt-snmp related. Nowdays, it is difficult to add new elements to > MIB, as some parts of code were generated by

Re: [Qemu-devel] [PATCH 2/2] Add the blockdev-reopen and blockdev-migrate commands

2012-02-24 Thread Kevin Wolf
Am 24.02.2012 12:37, schrieb Federico Simoncelli: > Signed-off-by: Federico Simoncelli > --- > block/blkmirror.c |2 +- > blockdev.c| 109 > +++-- > hmp-commands.hx | 36 + > hmp.c | 30 ++

Re: [Qemu-devel] [PATCH v5 8/9] qxl: introduce QXLCookie

2012-02-24 Thread Gerd Hoffmann
On 02/22/12 22:09, Alon Levy wrote: > Will be used in the next patch. Fails checkpatch.pl. cheers, Gerd

[Qemu-devel] [PATCH v2 3/3] optimize screendump for the common non-switch case

2012-02-24 Thread Gerd Hoffmann
switch console only if needed, also pass down whenever the console was switched or not because a displaysurface redraw is only needed in case the console was switched. Signed-off-by: Gerd Hoffmann --- console.c | 10 +++--- console.h |2 +- hw/blizzard.c |8 ++--

[Qemu-devel] [PATCH v2 0/3] screendump fixups

2012-02-24 Thread Gerd Hoffmann
Hi, Next round, this time covering all screen dump implementations. cheers, Gerd Gerd Hoffmann (3): vga: simplify screendump Remove screendump dummy functions. optimize screendump for the common non-switch case console.c | 12 +--- console.h |2 +- hw/blizza

[Qemu-devel] [PATCH v2 2/3] Remove screendump dummy functions.

2012-02-24 Thread Gerd Hoffmann
The code in console.c verifies whenever a screen_dump function pointer is present before calling it, so there is no need to supply an dummy function. Remove them. Also report an error to notify the user that he didn't got a screenshot. --- console.c |2 ++ hw/jazz_led.c |7 +-

[Qemu-devel] [PATCH v2 1/3] vga: simplify screendump

2012-02-24 Thread Gerd Hoffmann
The displaychangelistener isn't needed at all, we can simply save the image when vga_hw_update is done instead of hooking into the update process. --- hw/vga.c | 36 +--- 1 files changed, 1 insertions(+), 35 deletions(-) diff --git a/hw/vga.c b/hw/vga.c index c10

Re: [Qemu-devel] [PATCH] block: drop aio_multiwrite in BlockDriver

2012-02-24 Thread Kevin Wolf
Am 21.02.2012 16:43, schrieb Paolo Bonzini: > These were never used. > > Signed-off-by: Paolo Bonzini Thanks, applied to the block branch. Kevin

[Qemu-devel] [PATCH 2/2] Add the blockdev-reopen and blockdev-migrate commands

2012-02-24 Thread Federico Simoncelli
Signed-off-by: Federico Simoncelli --- block/blkmirror.c |2 +- blockdev.c| 109 +++-- hmp-commands.hx | 36 + hmp.c | 30 ++ hmp.h |2 + qapi-schema.json | 63 +++

[Qemu-devel] [PATCH] hw/arm11mpcore: Fix broken realview_mpcore/arm11mpcore_priv properties

2012-02-24 Thread Peter Maydell
Fix confusion in the Property arrays for the "arm11mpcore_priv" (per-CPU devices for the ARM11MPcore CPU) and "realview_mpcore" (realview-eb board specific device encapsulating CPU and some extra interrupt controllers) -- the num-irq property was defined on the wrong device and the mpcore_rirq_prop

[Qemu-devel] [PATCH 1/2] Add blkmirror block driver

2012-02-24 Thread Federico Simoncelli
From: Marcelo Tosatti Mirrored writes are used by live block copy. Signed-off-by: Marcelo Tosatti Signed-off-by: Federico Simoncelli --- Makefile.objs |2 +- block/blkmirror.c | 247 docs/blkmirror.txt | 16 3 files change

Re: [Qemu-devel] [PATCH] split SCSI and LSI, add myself as SCSI maintainer

2012-02-24 Thread Kevin Wolf
Am 22.02.2012 15:59, schrieb Paolo Bonzini: > This has been the de facto situation for a while now. > Add a tree, too. > > Signed-off-by: Paolo Bonzini > --- > MAINTAINERS |9 +++-- > 1 files changed, 7 insertions(+), 2 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 647

Re: [Qemu-devel] [PATCH 1/2] block: add the support for draining the throttled request queue

2012-02-24 Thread Stefan Hajnoczi
On Fri, Feb 24, 2012 at 05:25:08PM +0800, Zhi Yong Wu wrote: > On Fri, Feb 24, 2012 at 4:49 PM, Stefan Hajnoczi wrote: > > On Mon, Feb 20, 2012 at 12:50:30PM +0800, zwu.ker...@gmail.com wrote: > >> From: Zhi Yong Wu > >> > >> If one guest has multiple disks with enabling I/O throttling function

Re: [Qemu-devel] [PATCH] build: allow turning off debuginfo

2012-02-24 Thread Peter Maydell
On 24 February 2012 10:39, Gerd Hoffmann wrote: > On 02/08/12 13:54, Gerd Hoffmann wrote: >> This patch adds --{enable,disable}-debug-info switches to configure >> which allows to include/exclude the '-g' switch on the gcc & ld >> command lines.  Not building debug info reduces ressource usage >>

Re: [Qemu-devel] FLR capability hidden in VF config space

2012-02-24 Thread rukhsana ansari
Thanks Alex. Pls see my responses below: On Thu, Feb 23, 2012 at 9:34 PM, Alex Williamson wrote: > On Thu, 2012-02-23 at 09:25 +0530, rukhsana ansari wrote: > > Hello, > > > > Was wondering whether someone could shed some light on the issue below. > > Without FLR exposed in the VF, VF reset via

Re: [Qemu-devel] [PATCH] build: allow turning off debuginfo

2012-02-24 Thread Gerd Hoffmann
On 02/08/12 13:54, Gerd Hoffmann wrote: > This patch adds --{enable,disable}-debug-info switches to configure > which allows to include/exclude the '-g' switch on the gcc & ld > command lines. Not building debug info reduces ressource usage > (especially disk) alot and is quite useful for test bui

Re: [Qemu-devel] [libvirt] Add GSoC project ideas to the wiki!

2012-02-24 Thread Michal Privoznik
On 24.02.2012 10:19, Stefan Hajnoczi wrote: > This is a reminder that QEMU will apply for Google Summer of Code 2012 and we > need project ideas and mentors. Libvirt and kvm.ko projects are also welcome! > > http://wiki.qemu.org/Google_Summer_of_Code_2012 > > Please add yourself to the wiki now

Re: [Qemu-devel] [PATCH v2] nic: zap obsolote romloading bits from ne2k + pcnet

2012-02-24 Thread Gerd Hoffmann
On 02/08/12 16:02, Gerd Hoffmann wrote: > These days one just needs to specify the romfile in PCiDeviceInfo and > everything magically works. It also allows to disable pxe rom loading > via "romfile=" like it is possible for all other nics. > > [ v2: rebased & adapted to qom changes ] ping? che

Re: [Qemu-devel] Qemu for simulating SoCs?

2012-02-24 Thread Peter Maydell
On 24 February 2012 10:20, Magnus Therning wrote: > On Thu, Feb 23, 2012 at 23:26, Peter Maydell wrote: >> Yes. Our infrastructure for doing it in a neatly encapsulated >> way has been a bit lacking but is getting better. Already in >> the tree there is emulation of OMAP1 and OMAP2 and (just land

Re: [Qemu-devel] Qemu for simulating SoCs?

2012-02-24 Thread Alex Bradbury
On 24 February 2012 10:20, Magnus Therning wrote: > Well, true, except maybe that SystemC could be a way to write the > co-processors/peripherals on the SoC. None of this is at all relevant to mainline qemu, but you might be interested in the proceedings of the 2011 QEMU Users Forum which contain

Re: [Qemu-devel] Qemu for simulating SoCs?

2012-02-24 Thread Magnus Therning
On Thu, Feb 23, 2012 at 23:26, Peter Maydell wrote: > On 23 February 2012 14:36, Magnus Therning wrote: >> Qemu seems to mostly ship with emulation of individual CPUs (e.g. ARM >> processors) and with emulation of boards (e.g. versatile), is it also >> used for emulation of SoC? > > Yes. Our infr

Re: [Qemu-devel] [PATCH 0/4] support to migrate with IPv6 address

2012-02-24 Thread Kevin Wolf
Am 10.02.2012 07:26, schrieb Amos Kong: > Those four patches make migration of IPv6 address work. > Use getaddrinfo() to socket addresses infomation. > > --- > > Amos Kong (4): > Use getaddrinfo for migration > net/socket: allow ipv6 for net_socket_listen_init and > socket_connect_in

Re: [Qemu-devel] [PATCH 1/4] Use getaddrinfo for migration

2012-02-24 Thread Kevin Wolf
Am 10.02.2012 07:27, schrieb Amos Kong: > This allows us to use ipv4/ipv6 for migration addresses. > Once there, it also uses /etc/services names (it came free). > > Signed-off-by: Juan Quintela > Signed-off-by: Amos Kong > --- > migration-tcp.c | 60 --- > net.c

Re: [Qemu-devel] [PATCH 3/4] net: split hostname and service by last colon

2012-02-24 Thread Kevin Wolf
Am 10.02.2012 07:27, schrieb Amos Kong: > IPv6 address contains colons, parse will be wrong. > > [2312::8274]:5200 > > Signed-off-by: Amos Kong > --- > net.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/net.c b/net.c > index f63014c..9e1ef9e 100644 > --- a

Re: [Qemu-devel] [PATCH 1/2] block: add the support for draining the throttled request queue

2012-02-24 Thread Zhi Yong Wu
On Fri, Feb 24, 2012 at 4:49 PM, Stefan Hajnoczi wrote: > On Mon, Feb 20, 2012 at 12:50:30PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> If one guest has multiple disks with enabling I/O throttling function >> separately, when draining activities are done, some requests maybe a

Re: [Qemu-devel] [PATCH 2/4] net/socket: allow ipv6 for net_socket_listen_init and socket_connect_init

2012-02-24 Thread Kevin Wolf
Am 10.02.2012 07:27, schrieb Amos Kong: > Remove use of parse_host_port. > More SO_SOCKADDR changes. > > Signed-off-by: Juan Quintela > Signed-off-by: Amos Kong > --- > net/socket.c | 60 > +++--- > 1 files changed, 11 insertions(+), 49 del

Re: [Qemu-devel] [PATCH 1/2] block: add the support for draining the throttled request queue

2012-02-24 Thread Zhi Yong Wu
On Fri, Feb 24, 2012 at 4:49 PM, Stefan Hajnoczi wrote: > On Mon, Feb 20, 2012 at 12:50:30PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> If one guest has multiple disks with enabling I/O throttling function >> separately, when draining activities are done, some requests maybe a

[Qemu-devel] Add GSoC project ideas to the wiki!

2012-02-24 Thread Stefan Hajnoczi
This is a reminder that QEMU will apply for Google Summer of Code 2012 and we need project ideas and mentors. Libvirt and kvm.ko projects are also welcome! http://wiki.qemu.org/Google_Summer_of_Code_2012 Please add yourself to the wiki now if you want to mentor a project this summer. I will fil

Re: [Qemu-devel] [PATCH 2/3] Allow larger return values from get_image_size()

2012-02-24 Thread Andreas Färber
Am 24.02.2012 01:36, schrieb David Gibson: > Currently get_image_size(), used to find the size of files, returns an int. > But for modern systems, int may be only 32-bit and we can have files > larger than that. > > This patch, therefore, changes the return type of get_image_size() to off_t > (the

Re: [Qemu-devel] [PATCH v7 00/11] XBRLE delta for live migration of large memory app

2012-02-24 Thread Stefan Hajnoczi
On Thu, Jan 26, 2012 at 04:24:46PM +0200, Orit Wasserman wrote: > Changes from v6: > 1) add assert checks to ULEB encoding/decoding > 2) no need to send last zero run I took a quick look and I think the things I pointed out in previous versions have been addressed. I did not review the live mig

Re: [Qemu-devel] [PATCH 1/2] block: add the support for draining the throttled request queue

2012-02-24 Thread Stefan Hajnoczi
On Mon, Feb 20, 2012 at 12:50:30PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > > If one guest has multiple disks with enabling I/O throttling function > separately, when draining activities are done, some requests maybe are in the > throttled queue; So we need to restart them at fi

Re: [Qemu-devel] [Bug 939995] Re: v1.0-1172-g235fe3b crashes (opts=0x0)

2012-02-24 Thread Roy Tam
2012/2/24 Peter Maydell : > This is fixed by http://patchwork.ozlabs.org/patch/142548/ (which hasn't > been applied yet but hopefully will be soon). > It looks like a workaround to me as if you feed NULL to qemu_opt_find() it will still crashing. > -- > You received this bug notification because

Re: [Qemu-devel] [PATCH 1/4] Use getaddrinfo for migration

2012-02-24 Thread Kevin Wolf
Am 10.02.2012 07:27, schrieb Amos Kong: > This allows us to use ipv4/ipv6 for migration addresses. > Once there, it also uses /etc/services names (it came free). > > Signed-off-by: Juan Quintela > Signed-off-by: Amos Kong > --- > migration-tcp.c | 60 --- > net.c

[Qemu-devel] [Bug 939995] Re: v1.0-1172-g235fe3b crashes (opts=0x0)

2012-02-24 Thread Peter Maydell
This is fixed by http://patchwork.ozlabs.org/patch/142548/ (which hasn't been applied yet but hopefully will be soon). -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/939995 Title: v1.0-1172-g235fe3b

Re: [Qemu-devel] [PATCH v4 14/18] virtio-scsi: process control queue requests

2012-02-24 Thread Paolo Bonzini
On 02/24/2012 08:54 AM, Hu Tao wrote: > should be req->req.tmf->lun here and elsewhere in this function? Yes, good catch! Paolo

Re: [Qemu-devel] Core dumps - commit a0abe474d587499a1553372c1692811f81fd3eda

2012-02-24 Thread Peter Maydell
On 24 February 2012 05:49, Gerhard Wiesinger wrote: > I'm getting coredumps: > #0  qemu_opt_find (opts=0x0, name=0x7f18e8c833db "kernel") at > qemu-option.c:535 > 535         QTAILQ_FOREACH_REVERSE(opt, &opts->head, QemuOptHead, next) { > Yeah, I posted a fix for this on Tuesday: http://patchwork

Re: [Qemu-devel] [PATCH 4/6] Endian fixes for virtfs

2012-02-24 Thread Aneesh Kumar K.V
On Fri, 24 Feb 2012 11:23:30 +1100, David Gibson wrote: > From: Benjamin Herrenschmidt > > This patch fixes several endian bugs in virtfs. > > Cc: Aneesh Kumar K.V > > Signed-off-by: Benjamin Herrenschmidt > Signed-off-by: David Gibson > --- > hw/9pfs/virtio-9p.c |8 +--- > 1 file

<    1   2