[Qemu-devel] can qemu emulate pci e1000e support for arrm processor.

2013-06-17 Thread Santosh Shukla
Hi folks, I like to know that - can qemu able to emulate pci e1000 card for arm processor? I see that qemu support emulated model for pci-nic card, so Is it possible one enable them in qemu source (or minimal port) for other architecture like arm? did anyone tried similar exercise in past? apprec

Re: [Qemu-devel] [Qemu-stable] [PATCH v2 0/6] Some -smbios work

2013-06-17 Thread Markus Armbruster
mdroth writes: > On Mon, Jun 17, 2013 at 01:36:04PM +0200, Markus Armbruster wrote: >> Would this make sense for -stable? Impact is modest: fix a rather >> obscure feature of x86 targets on bigendian hosts, and improve error >> messages around it). On the other hand, the patches look pretty saf

Re: [Qemu-devel] [PATCH] block: add 'backing' option to drive_add

2013-06-17 Thread Markus Armbruster
Fam Zheng writes: > On Mon, 06/17 17:12, Kevin Wolf wrote: >> Am 17.06.2013 um 16:46 hat Paolo Bonzini geschrieben: >> > Il 17/06/2013 16:26, Kevin Wolf ha scritto: >> > > Am 17.06.2013 um 16:01 hat Paolo Bonzini geschrieben: >> > >> Il 17/06/2013 15:52, Kevin Wolf ha scritto: >> > >>> It's not a

Re: [Qemu-devel] [PATCH] block: add 'backing' option to drive_add

2013-06-17 Thread Kevin Wolf
Am 18.06.2013 um 05:58 hat Fam Zheng geschrieben: > On Mon, 06/17 17:12, Kevin Wolf wrote: > > Am 17.06.2013 um 16:46 hat Paolo Bonzini geschrieben: > > > Il 17/06/2013 16:26, Kevin Wolf ha scritto: > > > > Am 17.06.2013 um 16:01 hat Paolo Bonzini geschrieben: > > > >> Il 17/06/2013 15:52, Kevin Wo

Re: [Qemu-devel] [PATCH 1/2] avoid to allcate used macaddr to to new nic

2013-06-17 Thread Michael S. Tsirkin
On Tue, Jun 18, 2013 at 10:05:58AM +0800, Fam Zheng wrote: > On Mon, 06/17 17:00, Michael S. Tsirkin wrote: > > On Mon, Jun 17, 2013 at 09:35:10PM +0800, Amos Kong wrote: > > > QEMU allocates macaddr to nic if user doesn't assigne macaddr. > > > But we didn't check if the allocated macaddr is used,

Re: [Qemu-devel] [PATCH 4/7] migration-local: implementation of outgoing part

2013-06-17 Thread Lei Li
On 06/17/2013 12:07 AM, Anthony Liguori wrote: Lei Li writes: Signed-off-by: Lei Li --- Makefile.objs |1 + include/migration/migration.h | 15 + migration-local.c | 116 + migration-unix.c | 13

Re: [Qemu-devel] [PATCH v2 2/2] block: move the bdrv_dev_change_media_cb()

2013-06-17 Thread Pavel Hrdina
On 17.6.2013 17:16, Kevin Wolf wrote: Am 17.06.2013 um 16:59 hat Luiz Capitulino geschrieben: On Mon, 17 Jun 2013 16:49:11 +0200 Kevin Wolf wrote: Am 17.06.2013 um 15:51 hat Luiz Capitulino geschrieben: On Mon, 17 Jun 2013 15:46:52 +0200 Kevin Wolf wrote: Am 17.06.2013 um 15:38 hat Pavel

Re: [Qemu-devel] [PATCH 0/5] qcow2: Discard freed clusters

2013-06-17 Thread Kevin Wolf
Am 18.06.2013 um 05:03 hat Wenchao Xia geschrieben: > Hi, Kevin > In normal case, qcow2 is based on raw-posix file which don't support > discard operation It does, see raw_aio_discard(). > , so this serial doesn't change much in this case, > still real space is not freed in snapshot delete, and

Re: [Qemu-devel] [PATCH 2/2] extend the macaddr space to 0xffffffff

2013-06-17 Thread Michael S. Tsirkin
On Tue, Jun 18, 2013 at 09:51:44AM +0800, Amos Kong wrote: > On Mon, Jun 17, 2013 at 05:04:03PM +0300, Michael S. Tsirkin wrote: > > On Mon, Jun 17, 2013 at 09:35:11PM +0800, Amos Kong wrote: > > > Currently we only support to allocate 0xff mac-addresses, > > > if we start guest by pci-bridge/multi

Re: [Qemu-devel] [PATCH 3/7] arch_init: add ram_madvise_free()

2013-06-17 Thread Lei Li
On 06/17/2013 12:04 AM, Anthony Liguori wrote: Lei Li writes: Signed-off-by: Lei Li --- arch_init.c | 13 + include/migration/migration.h |3 +++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/arch_init.c b/arch_init.c index 872020e..fc

Re: [Qemu-devel] [PATCH 2/7] savevm: export qemu_save_device_state()

2013-06-17 Thread Lei Li
On 06/17/2013 12:02 AM, Anthony Liguori wrote: Lei Li writes: Signed-off-by: Lei Li --- include/sysemu/sysemu.h |1 + savevm.c|2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index 2fb71af..5b90

Re: [Qemu-devel] [PATCH 1/7] migration: export MIG_STATE_xxx flags

2013-06-17 Thread Lei Li
On 06/17/2013 12:01 AM, Anthony Liguori wrote: Lei Li writes: Signed-off-by: Lei Li --- include/migration/migration.h |8 migration.c |8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/migration/migration.h b/include/migr

Re: [Qemu-devel] [PATCH 0/7 RFC] Localhost live migration

2013-06-17 Thread Lei Li
On 06/17/2013 12:01 AM, Anthony Liguori wrote: Lei Li writes: Hi, This patch series tries to add localhost live migration support to Qemu. It is just a draft version which is far from completing and I am still working on, send it out to have your suggestions and make sure it is the way should

Re: [Qemu-devel] [PATCH 0/7 RFC] Localhost live migration

2013-06-17 Thread Lei Li
On 06/17/2013 08:57 PM, Stefan Hajnoczi wrote: On Sun, Jun 16, 2013 at 11:37:26PM +0800, Lei Li wrote: 2) Use different mechanism than current live migration. The very basic work flow like: qemu on the source (the source and destination are both on localhost) |

Re: [Qemu-devel] [Qemu-trivial] [PATCH] qxl: Fix QXLRam initialisation.

2013-06-17 Thread Gerd Hoffmann
Hi, >> If memory is set to 0xc2c2.., it leads to a spice-critical error when >> trying to start qxl. > But maybe instead of doing it this way, we should just memset the > whole thing to 0, to avoid similar bugs in the future? Are there > any arches out there which have cpu_to_le32(0) != 0 ? O

Re: [Qemu-devel] [Qemu-trivial] [PATCH 4/5] memory: use '=' instead of '|=' for memory_region_update_pending

2013-06-17 Thread li guang
在 2013-06-18二的 07:50 +0400,Michael Tokarev写道: > 18.06.2013 06:32, li guang пишет: > > 在 2013-06-11二的 15:34 +0400,Michael Tokarev写道: > >> 11.06.2013 09:15, liguang wrote: > >>> because memory_region_update_pending is bool > >>> > >>> Signed-off-by: liguang > >>> --- > >>> memory.c | 18 +

Re: [Qemu-devel] [PATCH] block: add 'backing' option to drive_add

2013-06-17 Thread Fam Zheng
On Mon, 06/17 17:12, Kevin Wolf wrote: > Am 17.06.2013 um 16:46 hat Paolo Bonzini geschrieben: > > Il 17/06/2013 16:26, Kevin Wolf ha scritto: > > > Am 17.06.2013 um 16:01 hat Paolo Bonzini geschrieben: > > >> Il 17/06/2013 15:52, Kevin Wolf ha scritto: > > >>> It's not a new thought that we need t

[Qemu-devel] [PATCH v2 4/5] sd: pass bool parameter for sd_init

2013-06-17 Thread liguang
Signed-off-by: liguang --- hw/sd/milkymist-memcard.c |2 +- hw/sd/omap_mmc.c |4 ++-- hw/sd/pl181.c |2 +- hw/sd/pxa2xx_mmci.c |2 +- hw/sd/sdhci.c |2 +- hw/sd/ssi-sd.c|2 +- 6 files changed, 7 insertions(+), 7 deletions(

[Qemu-devel] [PATCH v2 5/5] ui: boolize 'full_screen'

2013-06-17 Thread liguang
full_screen parameter for functions sdl_display_init, cocoa_display_init, curses_display_init should be boolized by actual usage. also boolize 'full_screen' in vl.c it may be bold for cocoa, so if it hurts, these changes can be dropped. Signed-off-by: liguang --- include/ui/console.h |6 +++

Re: [Qemu-devel] [Qemu-trivial] [PATCH 4/5] memory: use '=' instead of '|=' for memory_region_update_pending

2013-06-17 Thread Michael Tokarev
18.06.2013 06:32, li guang пишет: > 在 2013-06-11二的 15:34 +0400,Michael Tokarev写道: >> 11.06.2013 09:15, liguang wrote: >>> because memory_region_update_pending is bool >>> >>> Signed-off-by: liguang >>> --- >>> memory.c | 18 +- >>> 1 files changed, 9 insertions(+), 9 deletions(-

[Qemu-devel] [PATCH v2 3/5] qemu-char: use bool in qemu_chr_open_socket

2013-06-17 Thread liguang
local variables is_* should be bool by usage, and last parameter of qemu_opt_get_bool is bool, so pass true/false for it. Signed-off-by: liguang --- qemu-char.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 2c3cfe6..

[Qemu-devel] [PATCH v2 1/5] vnc: pass bool parameter for some functions

2013-06-17 Thread liguang
last parameters of vnc_listen_read,vnc_connect are bool, so pass 'false/true' instead of '0/1' for them. Reviewed-by: Andreas Färber Signed-off-by: liguang --- ui/vnc.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index dfc7459..1a8b940 100

[Qemu-devel] [PATCH v2 2/5] vnc: boolize 'skipauth'

2013-06-17 Thread liguang
suggested by Michael Tokarev Signed-off-by: liguang --- include/ui/console.h |2 +- ui/vnc.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ui/console.h b/include/ui/console.h index f1d79f9..98edf41 100644 --- a/include/ui/console.h +++ b/inc

Re: [Qemu-devel] [PATCH 2/2] intc/openpic: Convert to QOM realize

2013-06-17 Thread Peter Crosthwaite
Hi Andreas, On Tue, Jun 18, 2013 at 11:58 AM, Andreas Färber wrote: > Split qdev initfn into instance_init and realize functions. > Change one occurrence of "klass" while at it. > > Signed-off-by: Andreas Färber Reviewed-by: Peter Crosthwaite > --- > hw/intc/openpic.c | 34 ++

Re: [Qemu-devel] [PATCH 1/2] intc/openpic: QOM'ify

2013-06-17 Thread Peter Crosthwaite
On Tue, Jun 18, 2013 at 11:58 AM, Andreas Färber wrote: > Introduce type constant and cast macro. > > Signed-off-by: Andreas Färber Reviewed-by: Peter Crosthwaite > --- > hw/intc/openpic.c| 17 +++-- > hw/ppc/e500.c| 2 +- > hw/ppc/mac_newworld.c| 2 +- >

Re: [Qemu-devel] [PATCH 0/5] qcow2: Discard freed clusters

2013-06-17 Thread Wenchao Xia
Hi, Kevin In normal case, qcow2 is based on raw-posix file which don't support discard operation, so this serial doesn't change much in this case, still real space is not freed in snapshot delete, and it completes fast. Instead, tt affects the case that some protocol below support discard, so del

Re: [Qemu-devel] [Qemu-trivial] [PATCH] qxl: Fix QXLRam initialisation.

2013-06-17 Thread Michael Tokarev
17.06.2013 20:38, Anthony PERARD wrote: > The qxl driver expect NULL for QXLRam.memory_configs, but this is never > initialized. > > If memory is set to 0xc2c2.., it leads to a spice-critical error when > trying to start qxl. This bug has been introduced by: commit 020af1c45fec664d5d4cf3b8e5117

Re: [Qemu-devel] [PATCH v6] net: add support of mac-programming over macvtap in QEMU side

2013-06-17 Thread Amos Kong
On Tue, Jun 18, 2013 at 09:59:10AM +0800, Wenchao Xia wrote: > 于 2013-6-14 15:45, Amos Kong 写道: > > Currently macvtap based macvlan device is working in promiscuous > > mode, we want to implement mac-programming over macvtap through > > Libvirt for better performance. > > > > Design: > > QEMU no

[Qemu-devel] [Bug 1191457] Re: broken build without sdl

2013-06-17 Thread Sherpya
the bug was fixed in a1077090cea97df26a754d16d7c9e1d410d81eaa ** Changed in: qemu Status: New => Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1191457 Title: broken build with

Re: [Qemu-devel] [PATCH RFC v2 0/7] coordinate cpu hotplug/unplug bewteen QEMU and kernel by EC

2013-06-17 Thread li guang
Hi, Igor and Micheal 在 2013-06-06四的 16:33 +0800,li guang写道: > 在 2013-06-06四的 11:13 +0300,Michael S. Tsirkin写道: > > On Thu, Jun 06, 2013 at 11:16:53AM +0800, liguang wrote: > > > v2: > > > 1.remove PIIX4_PROC_BASE operations for cpu hotplug > > > 2.fix wrong description fo cpu-del > > > > > > pat

Re: [Qemu-devel] [PATCH v2 0/2] make AioContext's bh re-entrant

2013-06-17 Thread liu ping fan
On Mon, Jun 17, 2013 at 3:11 PM, Paolo Bonzini wrote: > Il 16/06/2013 13:21, Liu Ping Fan ha scritto: >> When trying out of QBL, we badly require more fine defined barrier and >> atomic ops, so >> I repost Paolo's atomic patch which fetched github.com/bonzini/qemu.git rcu > > CCing block maintain

Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/5] vnc: pass bool pararmeter for vnc_connect

2013-06-17 Thread li guang
在 2013-06-18二的 06:35 +0400,Michael Tokarev写道: > 11.06.2013 15:50, Michael Tokarev wrote: > > 11.06.2013 09:15, liguang wrote: > >> type last parameter of vnc_connect if bool, > >> so pass 'false' instead of '0' for it. > > > > There's another parameter in here, `skipauth', which should be > > bool

Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/5] vnc: pass bool pararmeter for vnc_connect

2013-06-17 Thread li guang
在 2013-06-11二的 15:50 +0400,Michael Tokarev写道: > 11.06.2013 09:15, liguang wrote: > > type last parameter of vnc_connect if bool, > > so pass 'false' instead of '0' for it. > > There's another parameter in here, `skipauth', which should be > bool in vnc_connect(), and should be bool in vnc_display_

Re: [Qemu-devel] [Qemu-trivial] [PATCH] configure: Fix "ERROR: ERROR: " for missing/incompatible DTC

2013-06-17 Thread Michael Tokarev
18.06.2013 03:09, Andreas Färber wrote: > error_exit already prepends "ERROR: ", so no need to print it manually. Thanks, applied to the trivial patches queue. /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/5] vnc: pass bool pararmeter for vnc_connect

2013-06-17 Thread Michael Tokarev
11.06.2013 15:50, Michael Tokarev wrote: > 11.06.2013 09:15, liguang wrote: >> type last parameter of vnc_connect if bool, >> so pass 'false' instead of '0' for it. > > There's another parameter in here, `skipauth', which should be > bool in vnc_connect(), and should be bool in vnc_display_add_cli

Re: [Qemu-devel] [Qemu-trivial] [PATCH 4/5] memory: use '=' instead of '|=' for memory_region_update_pending

2013-06-17 Thread li guang
在 2013-06-11二的 15:34 +0400,Michael Tokarev写道: > 11.06.2013 09:15, liguang wrote: > > because memory_region_update_pending is bool > > > > Signed-off-by: liguang > > --- > > memory.c | 18 +- > > 1 files changed, 9 insertions(+), 9 deletions(-) > > > > diff --git a/memory.c b/m

Re: [Qemu-devel] [Qemu-trivial] [PATCH 3/5] qemu-char: pass bool parameter for qemu_opt_get_bool

2013-06-17 Thread li guang
在 2013-06-11二的 15:35 +0400,Michael Tokarev写道: > 11.06.2013 09:15, liguang wrote: > > Signed-off-by: liguang > > --- > > qemu-char.c |8 > > 1 files changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/qemu-char.c b/qemu-char.c > > index d04b429..8092eb8 100644 > > --- a/qem

Re: [Qemu-devel] [Qemu-trivial] [PATCH] kvm: Fix potential resource leak (missing fclose)

2013-06-17 Thread Michael Tokarev
Thanks, applied all of the following: kvm: Fix potential resource leak (missing fclose) savevm: Fix potential memory leak audio: Replace static functions in header file by macros, remove GCC_ATTR libcacard: Fix cppcheck warning and remove unneeded code to the trivial patch queue. /mjt

Re: [Qemu-devel] [PATCH qom-cpu v3 1/6] cpu: Fix cpu_class_set_vmsd() documentation

2013-06-17 Thread li guang
在 2013-06-18二的 02:29 +0200,Andreas Färber写道: > It's CPUClass::vmsd, not CPUState::vmsd. > > Signed-off-by: Andreas Färber Reviewed-by: liguang > --- > include/qom/cpu.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/qom/cpu.h b/include/qom/cpu.h > index a5bb

Re: [Qemu-devel] [PATCH] gtk: Fix compiler warning (GTK 3 deprecated function)

2013-06-17 Thread Michael Tokarev
16.06.2013 18:13, Stefan Weil wrote: > With GTK 3, the function gdk_cursor_unref is deprecated: > > qemu/ui/gtk.c: In function ‘gd_cursor_define’: > qemu/ui/gtk.c:380:5: error: > ‘gdk_cursor_unref’ is deprecated (declared at > /usr/include/gtk-3.0/gdk/gdkcursor.h:233): Use 'g_object_unref' inste

Re: [Qemu-devel] [PATCH qom-cpu 25/59] cpu: Change qemu_init_vcpu() argument to CPUState

2013-06-17 Thread li guang
Hi, Andreas 在 2013-06-16日的 18:35 +0200,Andreas Färber写道: > Am 16.06.2013 10:27, schrieb Andreas Färber: > > 嗨, > > Wow! seems you do know Chinese. (are you a Chinese who is working in Deutschland? :-) ) > > Am 11.06.2013 04:39, schrieb li guang: > >> 在 2013-06-09日的 21:12 +0200,Andreas Färber写道

Re: [Qemu-devel] [PATCH v2 2/2] QEMUBH: make AioContext's bh re-entrant

2013-06-17 Thread liu ping fan
On Mon, Jun 17, 2013 at 11:28 PM, Stefan Hajnoczi wrote: > On Sun, Jun 16, 2013 at 07:21:21PM +0800, Liu Ping Fan wrote: >> @@ -47,8 +47,12 @@ QEMUBH *aio_bh_new(AioContext *ctx, QEMUBHFunc *cb, void >> *opaque) >> bh->ctx = ctx; >> bh->cb = cb; >> bh->opaque = opaque; >> +qemu

Re: [Qemu-devel] [PATCH 1/2] avoid to allcate used macaddr to to new nic

2013-06-17 Thread Fam Zheng
On Mon, 06/17 17:00, Michael S. Tsirkin wrote: > On Mon, Jun 17, 2013 at 09:35:10PM +0800, Amos Kong wrote: > > QEMU allocates macaddr to nic if user doesn't assigne macaddr. > > But we didn't check if the allocated macaddr is used, it might > > cause macaddr repeated. > > > > # qemu -device e100

Re: [Qemu-devel] [PATCH v6] net: add support of mac-programming over macvtap in QEMU side

2013-06-17 Thread Wenchao Xia
于 2013-6-14 15:45, Amos Kong 写道: > Currently macvtap based macvlan device is working in promiscuous > mode, we want to implement mac-programming over macvtap through > Libvirt for better performance. > > Design: > QEMU notifies Libvirt when rx-filter config is changed in guest, > then Libvirt

[Qemu-devel] [PATCH 2/2] intc/openpic: Convert to QOM realize

2013-06-17 Thread Andreas Färber
Split qdev initfn into instance_init and realize functions. Change one occurrence of "klass" while at it. Signed-off-by: Andreas Färber --- hw/intc/openpic.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/hw/intc/openpic.c b/hw/intc/openp

[Qemu-devel] [PATCH 0/2] ppc: QOM'ify openpic device

2013-06-17 Thread Andreas Färber
Hi Alex, Here's another mini-series cleaning up and converting the original OpenPIC device. Regards, Andreas Cc: Alexander Graf Cc: qemu-...@nongnu.org Cc: Scott Wood Andreas Färber (2): intc/openpic: QOM'ify intc/openpic: Convert to QOM realize hw/intc/openpic.c| 49 ++

[Qemu-devel] [PATCH 1/2] intc/openpic: QOM'ify

2013-06-17 Thread Andreas Färber
Introduce type constant and cast macro. Signed-off-by: Andreas Färber --- hw/intc/openpic.c| 17 +++-- hw/ppc/e500.c| 2 +- hw/ppc/mac_newworld.c| 2 +- include/hw/ppc/openpic.h | 2 ++ 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/hw/intc

Re: [Qemu-devel] [PATCH 2/2] extend the macaddr space to 0xffffffff

2013-06-17 Thread Amos Kong
On Mon, Jun 17, 2013 at 05:04:03PM +0300, Michael S. Tsirkin wrote: > On Mon, Jun 17, 2013 at 09:35:11PM +0800, Amos Kong wrote: > > Currently we only support to allocate 0xff mac-addresses, > > if we start guest by pci-bridge/multiple-func, the macaddr > > are not enough. > > > > This patch exten

Re: [Qemu-devel] [PULL 06/10] configure: dtc: Probe for libfdt_env.h

2013-06-17 Thread Andreas Färber
Am 18.06.2013 02:52, schrieb Peter Crosthwaite: > On Tue, Jun 18, 2013 at 10:46 AM, Andreas Färber wrote: >> Am 18.06.2013 01:44, schrieb Peter Maydell: >>> On 18 June 2013 00:24, Andreas Färber wrote: As far as I can see, 1.3.0 is the latest available stable dtc version, and it doesn't

Re: [Qemu-devel] [PULL 06/10] configure: dtc: Probe for libfdt_env.h

2013-06-17 Thread Peter Crosthwaite
On Tue, Jun 18, 2013 at 10:46 AM, Andreas Färber wrote: > Am 18.06.2013 01:44, schrieb Peter Maydell: >> On 18 June 2013 00:24, Andreas Färber wrote: >>> As far as I can see, 1.3.0 is the latest available stable dtc version, >>> and it doesn't install libfdt_env.h yet apparently. Any chance we ca

Re: [Qemu-devel] [PULL 06/10] configure: dtc: Probe for libfdt_env.h

2013-06-17 Thread Andreas Färber
Am 18.06.2013 01:44, schrieb Peter Maydell: > On 18 June 2013 00:24, Andreas Färber wrote: >> As far as I can see, 1.3.0 is the latest available stable dtc version, >> and it doesn't install libfdt_env.h yet apparently. Any chance we can >> restore build with dtc 1.3.0 tarball (it used to work fin

[Qemu-devel] [PATCH qom-cpu v3 4/6] target-alpha: Register VMStateDescription for AlphaCPU

2013-06-17 Thread Andreas Färber
Commit b758aca1f6cdb175634812b79f5560c36c902d00 (target-alpha: Enable the alpha-softmmu target.) introduced cpu_{save,load}() functions but didn't define CPU_SAVE_VERSION, so they were never registered. Drop cpu_{save,load}() and register the VMStateDescription via DeviceClass. This operates on th

[Qemu-devel] [PATCH qom-cpu v3 5/6] target-openrisc: Register VMStateDescription for OpenRISCCPU

2013-06-17 Thread Andreas Färber
Since commit e67db06e9f6d7e514ee2a9b9b769ecd42977f6fb (target-or32: Add target stubs and QOM cpu) a VMStateDescription existed, but CPU_SAVE_VERSION was not set, so it was never registered. Drop cpu_{save,load}() and register VMStateDescription via DeviceState. Use a version_id of 1 and specify mi

[Qemu-devel] [PATCH qom-cpu v3 2/6] cpu: Introduce device_class_set_vmsd() helper

2013-06-17 Thread Andreas Färber
It's the equivalent to cpu_class_set_vmsd(), to assign DeviceClass::vmsd. It wasn't needed before since only static, unmigratable VMStateDescriptions were assigned so far. Signed-off-by: Andreas Färber --- include/qom/cpu.h | 21 + 1 file changed, 21 insertions(+) diff --git

[Qemu-devel] [PATCH qom-cpu v3 1/6] cpu: Fix cpu_class_set_vmsd() documentation

2013-06-17 Thread Andreas Färber
It's CPUClass::vmsd, not CPUState::vmsd. Signed-off-by: Andreas Färber --- include/qom/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/qom/cpu.h b/include/qom/cpu.h index a5bb515..55a85c1 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -226,7 +226,7 @@

[Qemu-devel] [PATCH qom-cpu v3 0/6] QOM CPUState migration, next generation

2013-06-17 Thread Andreas Färber
Hello, As previously reported, alpha and openrisc had prepared VMStateDescriptions but failed to register them due to lack of CPU_SAVE_VERSION. Now that CPUState is a DeviceState, it was suggested to register the VMState of new CPUs the same way devices do. They thereby deviate from legacy CPUs,

[Qemu-devel] [PATCH qom-cpu v3 3/6] cpu: Introduce VMSTATE_CPU() macro for CPUState

2013-06-17 Thread Andreas Färber
To be used to embed common CPU state into CPU subclasses. Signed-off-by: Andreas Färber --- exec.c| 5 ++--- include/qom/cpu.h | 14 ++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/exec.c b/exec.c index 5b8b40d..0bee004 100644 --- a/exec.c +++ b/exec.c

[Qemu-devel] [PATCH qom-cpu v3 6/6] cpu: Guard cpu_{save, load}() definitions

2013-06-17 Thread Andreas Färber
A few targets already managed to implement cpu_save() and cpu_load() without defining CPU_SAVE_VERSION that causes them to be registered. Guard the prototypes with CPU_SAVE_VERSION to avoid this happening again until all targets are converted to VMState (or QIDL). Signed-off-by: Andreas Färber -

Re: [Qemu-devel] [PULL 06/10] configure: dtc: Probe for libfdt_env.h

2013-06-17 Thread David Gibson
On Tue, Jun 18, 2013 at 12:44:02AM +0100, Peter Maydell wrote: > On 18 June 2013 00:24, Andreas Färber wrote: > > As far as I can see, 1.3.0 is the latest available stable dtc version, > > and it doesn't install libfdt_env.h yet apparently. Any chance we can > > restore build with dtc 1.3.0 tarbal

Re: [Qemu-devel] [PULL 06/10] configure: dtc: Probe for libfdt_env.h

2013-06-17 Thread Peter Maydell
On 18 June 2013 00:24, Andreas Färber wrote: > As far as I can see, 1.3.0 is the latest available stable dtc version, > and it doesn't install libfdt_env.h yet apparently. Any chance we can > restore build with dtc 1.3.0 tarball (it used to work fine) while > keeping newer versions working? I wan

Re: [Qemu-devel] [PULL 06/10] configure: dtc: Probe for libfdt_env.h

2013-06-17 Thread Andreas Färber
Am 14.06.2013 16:53, schrieb Peter Maydell: > From: Peter Crosthwaite > > Currently QEMU provides a local clone of the file libfdt_env.h in > /include. This file is supposed to come with the libfdt package and is > only needed for broken installs of libfdt. Now that we have submodule > dtc, just

Re: [Qemu-devel] [Qemu-stable] [PATCH v2 0/6] Some -smbios work

2013-06-17 Thread mdroth
On Mon, Jun 17, 2013 at 01:36:04PM +0200, Markus Armbruster wrote: > Would this make sense for -stable? Impact is modest: fix a rather > obscure feature of x86 targets on bigendian hosts, and improve error > messages around it). On the other hand, the patches look pretty safe to > me. 5/6 was ce

Re: [Qemu-devel] Patch Round-up for stable 1.5.1, freeze on 2013-06-19

2013-06-17 Thread mdroth
On Mon, Jun 17, 2013 at 04:04:31PM -0700, Richard Henderson wrote: > On 06/17/2013 03:56 PM, mdroth wrote: > > On Wed, Jun 12, 2013 at 04:41:12PM -0500, Michael Roth wrote: > >> Hi everyone, > >> > >> The following new patches are queued for QEMU stable v1.5.1: > >> > >> https://github.com/mdroth/q

Re: [Qemu-devel] [PATCH] configure: Fix "ERROR: ERROR: " for missing/incompatible DTC

2013-06-17 Thread Peter Maydell
On 18 June 2013 00:09, Andreas Färber wrote: > error_exit already prepends "ERROR: ", so no need to print it manually. Reviewed-by: Peter Maydell -- PMM

[Qemu-devel] [PATCH] configure: Fix "ERROR: ERROR: " for missing/incompatible DTC

2013-06-17 Thread Andreas Färber
error_exit already prepends "ERROR: ", so no need to print it manually. Signed-off-by: Andreas Färber --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index ad32f87..bb126e8 100755 --- a/configure +++ b/configure @@ -2529,7 +2529,7 @@ EOF

Re: [Qemu-devel] Patch Round-up for stable 1.5.1, freeze on 2013-06-19

2013-06-17 Thread Richard Henderson
On 06/17/2013 03:56 PM, mdroth wrote: > On Wed, Jun 12, 2013 at 04:41:12PM -0500, Michael Roth wrote: >> Hi everyone, >> >> The following new patches are queued for QEMU stable v1.5.1: >> >> https://github.com/mdroth/qemu/commits/stable-1.5-staging > > Repo updated with everything I'm tracking tha

Re: [Qemu-devel] Patch Round-up for stable 1.5.1, freeze on 2013-06-19

2013-06-17 Thread mdroth
On Wed, Jun 12, 2013 at 04:41:12PM -0500, Michael Roth wrote: > Hi everyone, > > The following new patches are queued for QEMU stable v1.5.1: > > https://github.com/mdroth/qemu/commits/stable-1.5-staging Repo updated with everything I'm tracking that's been committed so far. As far as I'm aware

[Qemu-devel] Live migration between different versions of Qemu

2013-06-17 Thread Alex Bligh
Should it be possible to live migrate between different versions of Qemu (assuming suitable hardware)? I am thinking specifically of Qemu 1.0.x to Qemu 1.5.0, x86_84 kvm. -- Alex Bligh

Re: [Qemu-devel] [PATCH] target-mips: fix multiplication in mipsdsp_rndq15_mul_q15_q15

2013-06-17 Thread Petar Jovanovic
ping From: Petar Jovanovic Sent: Sunday, June 09, 2013 4:36 AM To: Petar Jovanovic; qemu-devel@nongnu.org Cc: aurel...@aurel32.net Subject: RE: [PATCH] target-mips: fix multiplication in mipsdsp_rndq15_mul_q15_q15 ping http://patchwork.ozlabs.org/patch/24

Re: [Qemu-devel] [PATCH] target-mips: fix mipsdsp_trunc16_sat16_round

2013-06-17 Thread Petar Jovanovic
ping From: Petar Jovanovic Sent: Sunday, June 09, 2013 4:34 AM To: Petar Jovanovic; qemu-devel@nongnu.org Cc: aurel...@aurel32.net Subject: RE: [PATCH] target-mips: fix mipsdsp_trunc16_sat16_round ping http://patchwork.ozlabs.org/patch/245624/

Re: [Qemu-devel] [PATCH v2 4/4] tcg-arm: Implement tcg_register_jit

2013-06-17 Thread Andreas Färber
Am 18.06.2013 00:16, schrieb Peter Maydell: > On 17 June 2013 23:12, Andreas Färber wrote: >> Am 05.06.2013 19:29, schrieb Richard Henderson: >>> Allows unwinding past the code_gen_buffer. >>> >>> Signed-off-by: Richard Henderson >>> --- >>> tcg/arm/tcg-target.c | 76 >>> +++

Re: [Qemu-devel] Patch Round-up for stable 1.5.1, freeze on 2013-06-19

2013-06-17 Thread mdroth
On Thu, Jun 13, 2013 at 02:36:20PM +0200, Andreas Färber wrote: > Am 13.06.2013 14:27, schrieb Paolo Bonzini: > > Il 12/06/2013 17:41, Michael Roth ha scritto: > >> Hi everyone, > >> > >> The following new patches are queued for QEMU stable v1.5.1: > >> > >> https://github.com/mdroth/qemu/commits/s

Re: [Qemu-devel] [PULL 0/4] Cocoa patch queue 2013-05-29

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/13] tcg-aarch64 queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] update seabios to release 1.7.2.2

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 4/4] tcg-arm: Implement tcg_register_jit

2013-06-17 Thread Peter Maydell
On 17 June 2013 23:12, Andreas Färber wrote: > Am 05.06.2013 19:29, schrieb Richard Henderson: >> Allows unwinding past the code_gen_buffer. >> >> Signed-off-by: Richard Henderson >> --- >> tcg/arm/tcg-target.c | 76 >> +--- >> 1 file changed, 67

Re: [Qemu-devel] [PATCH v2 4/4] tcg-arm: Implement tcg_register_jit

2013-06-17 Thread Andreas Färber
Am 05.06.2013 19:29, schrieb Richard Henderson: > Allows unwinding past the code_gen_buffer. > > Signed-off-by: Richard Henderson > --- > tcg/arm/tcg-target.c | 76 > +--- > 1 file changed, 67 insertions(+), 9 deletions(-) How does the target lea

Re: [Qemu-devel] [PATCH v2 3/4] tcg-i386: Use QEMU_BUILD_BUG_ON instead of assert for frame size

2013-06-17 Thread Andreas Färber
Am 05.06.2013 19:29, schrieb Richard Henderson: > We can check the condition at compile time, rather than run time. > > Signed-off-by: Richard Henderson > --- > tcg/i386/tcg-target.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/tcg/i386/tcg-target.c b/tcg/i386/

Re: [Qemu-devel] [PULL 0/2] Net patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 1/2] s390/ipl: Fix boot order

2013-06-17 Thread Andreas Färber
Hi, Am 17.06.2013 14:29, schrieb Christian Borntraeger: > The latest ipl code adoptions collided with some of the virtio "adaptions"? > refactoring rework. This resulted in always booting the first > disk. Lets fix booting from a given ID. "Let's"? > The new code also checks for command lines

Re: [Qemu-devel] [PULL 0/1] target-arm queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [0/10] Clean up PCI code to allow for multiple root buses (v2)

2013-06-17 Thread Michael S. Tsirkin
On Thu, Jun 06, 2013 at 06:48:44PM +1000, David Gibson wrote: > The current PCI subsystem has kind of half-hearted support for > multiple independent root buses - aka PCI domains - in the form of the > PCIHostBus structure and its domain field. However, it doesn't quite > work because pci_host_bus

Re: [Qemu-devel] [PULL 00/22] Memory/IOMMU patches, part 2: unassigned access detection

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL trivial/urgent 0/2] trivial-patches out-of-order pull request for 2013-06-17

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/10] configury queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/15] IOMMU patches for 1.6, part 1

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/12] QMP queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] virtio-ccw/css: bugfixes

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/17] QOM CPUState patch queue 2013-06-12

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

[Qemu-devel] Sorry for the delayed "thanks, applied" on PULL requests

2013-06-17 Thread Anthony Liguori
There was a bug in patches which caused quite a few pull requests to be unacknowledged even though they were merged. I fixed this problem and "caught up" those notes. Sorry for the temporary noise. Since I know some people use these notes to determine what has been merged, I thought it was impo

Re: [Qemu-devel] [PULL 00/24] arm-devs queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/26] Trivial-patches pull request for 2013-06-14

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/9] pci: misc cleanups

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] Net patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/11] Block patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/9] QMP queue

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/2] chardev: fix "info chardev" output

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/9] SCSI updates for 2013-04-13

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/26] Block patches

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 0/7] qemu-ga: local state directory fixes for win32

2013-06-17 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

  1   2   3   >