Re: [Qemu-devel] [PATCH 1/2] tcg-hppa: Fix brcond2 and setcond2

2012-12-24 Thread Stuart Brady
On Tue, Sep 18, 2012 at 07:59:47PM -0700, Richard Henderson wrote: > diff --git a/tcg/hppa/tcg-target.c b/tcg/hppa/tcg-target.c > index 8b81b70..a76569d 100644 > --- a/tcg/hppa/tcg-target.c > +++ b/tcg/hppa/tcg-target.c > @@ -820,19 +820,34 @@ static void tcg_out_comclr(TCGContext *s, int cond, >

Re: [Qemu-devel] [PATCH] sheepdog: implement direct write semantics

2012-12-24 Thread MORITA Kazutaka
At Thu, 20 Dec 2012 02:29:31 +0800, Liu Yuan wrote: > > From: Liu Yuan > > Sheepdog supports both writeback/writethrough write but has not yet supported > DIRECTIO semantics which bypass the cache completely even if Sheepdog daemon > is > set up with cache enabled. > > Suppose cache is enabled

Re: [Qemu-devel] [Resend][Seabios PATCH] don't boot from un-selected devices

2012-12-24 Thread Gleb Natapov
On Tue, Dec 25, 2012 at 11:58:08AM +0800, Amos Kong wrote: > On Wed, Dec 19, 2012 at 11:32:08AM +0200, Gleb Natapov wrote: > > On Wed, Dec 19, 2012 at 03:24:45PM +0800, Amos Kong wrote: > > > Current seabios will try to boot from selected devices first, > > > if they are all failed, seabios will al

Re: [Qemu-devel] [PATCH 3/6] snapshot: design of common API to take snapshots

2012-12-24 Thread Wenchao Xia
> On 12/16/2012 11:25 PM, Wenchao Xia wrote: This patch added API to take snapshots in unified style for both internal or external type. The core structure is based on transaction, for that there is a qmp interface need to support , qmp_transaction, so all operations are packed as requests.

Re: [Qemu-devel] [PATCH 3/6] snapshot: design of common API to take snapshots

2012-12-24 Thread Wenchao Xia
于 2012-12-22 2:49, Juan Quintela 写道: > Wenchao Xia wrote: >> + >> +typedef struct SNTime { >> +uint32_t date_sec; /* UTC date of the snapshot */ >> +uint32_t date_nsec; > > This two fields are just struct timespec, does it makes sense to use it? > make sense, I did not notice timespec

Re: [Qemu-devel] [PATCH 4/6] snapshot: implemention of common API to take snapshots

2012-12-24 Thread Wenchao Xia
>>Every request's handler need to have three function: >> execution, updating, cancelling. Also another check function > > canceling > OK. >> could be provided to check if request is valid before execition. >>internal snapshot implemention was based on the code from >> diet...@proxmox.

Re: [Qemu-devel] [RFC] lively write vmstate with predictable size

2012-12-24 Thread Wenchao Xia
Hi, Juan Thank u for reviewing on this, have some questions below. > Wenchao Xia wrote: >> resent the mail to mail-list. >> --- >> >> Hi, Paolo and Juan >> Currently savevm needs pause vm, and I am working on that make it >> lively. Considering the flexibility I'd like to

Re: [Qemu-devel] [Resend][Seabios PATCH] don't boot from un-selected devices

2012-12-24 Thread Amos Kong
On Wed, Dec 19, 2012 at 11:32:08AM +0200, Gleb Natapov wrote: > On Wed, Dec 19, 2012 at 03:24:45PM +0800, Amos Kong wrote: > > Current seabios will try to boot from selected devices first, > > if they are all failed, seabios will also try to boot from > > un-selected devices. > > > > For example:

Re: [Qemu-devel] [PATCH 1/6] snapshot: export function in block.c

2012-12-24 Thread Wenchao Xia
于 2012-12-22 2:13, Juan Quintela 写道: > Wenchao Xia wrote: >>This patch moves bdrv_snapshotfind from savevm.c to block.c and export >> it, also added bdrv_deappend in block.c. > > I think this patch can be splitted in two: > - new bdv_deappend > - move bdrv_snapshot_find > OK. -- Best Reg

Re: [Qemu-devel] [PATCH 2/3] HMP: pass in parameter for info sub command

2012-12-24 Thread Wenchao Xia
于 2012-12-21 22:49, Markus Armbruster 写道: > Luiz Capitulino writes: > >> On Wed, 19 Dec 2012 18:17:09 +0800 >> Wenchao Xia wrote: >> >>>This patch enable sub info command handler getting meaningful >>> parameter. >>> >>> Signed-off-by: Wenchao Xia >>> --- >>> hmp-commands.hx |2 +- >>>

Re: [Qemu-devel] [PATCH 3/3] HMP: show internal snapshots on a single device

2012-12-24 Thread Wenchao Xia
>> >> +static void do_info_snapshots_blk(Monitor *mon, const char *device) >> +{ >> +BlockDriverState *bs; >> +QEMUSnapshotInfo *sn_tab, *sn; >> +int nb_sns, i; >> +char buf[256]; >> + >> +/* find the target bs */ >> +bs = bdrv_find(device); >> +if (!bs) { >> +

Re: [Qemu-devel] [PATCH 1/3] HMP: add QDict to info callback handler

2012-12-24 Thread Wenchao Xia
OK, will add that in commit message. > > For now, the new argument is NULL, not an empty dictionary. Could be > mentioned in the commit message. Not worth a respin. > > [...] > -- Best Regards Wenchao Xia

[Qemu-devel] [PATCH v8 5/7] trace: [default] Port to generic event information and new control interface

2012-12-24 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova --- trace/default.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trace/default.c b/trace/default.c index c9b27a2..2b61224 100644 --- a/trace/default.c +++ b/trace/default.c @@ -1,7 +1,7 @@ /* * Default implementation for backend ini

[Qemu-devel] [PATCH v8 6/7] trace: [simple] Port to generic event information and new control interface

2012-12-24 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova --- scripts/tracetool/backend/simple.py | 18 +- trace/simple.c | 33 ++--- trace/simple.h |6 +- 3 files changed, 12 insertions(+), 45 deletions(-) diff --git a/script

[Qemu-devel] [PATCH v8 2/7] trace: Provide a generic tracing event descriptor

2012-12-24 Thread Lluís Vilanova
Uses tracetool to generate a backend-independent tracing event description (struct TraceEvent). The values for such structure are generated with the non-public "events" backend ("events-c" frontend). The generation of the defines to check if an event is statically enabled is also moved to the "ev

[Qemu-devel] [PATCH v8 7/7] trace: [stderr] Port to generic event information and new control interface

2012-12-24 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova --- scripts/tracetool/backend/stderr.py | 27 --- trace/stderr.c | 35 +++ trace/stderr.h | 11 --- 3 files changed, 15 insertions(+), 58 deletions(-) del

[Qemu-devel] [PATCH v8 3/7] trace: Provide a detailed event control interface

2012-12-24 Thread Lluís Vilanova
This interface decouples event obtaining from interaction. Events can be obtained through three different methods: * identifier * name * simple wildcard pattern Signed-off-by: Lluís Vilanova --- docs/tracing.txt | 44 --- trace/control-internal.h | 60 +++ trace

[Qemu-devel] [PATCH v8 4/7] trace: [monitor] Use new event control interface

2012-12-24 Thread Lluís Vilanova
Signed-off-by: Lluís Vilanova --- monitor.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/monitor.c b/monitor.c index 9cf419b..dc3fbca 100644 --- a/monitor.c +++ b/monitor.c @@ -735,10 +735,19 @@ static void do_trace_event_set_state(Monitor *mon, const QD

[Qemu-devel] [PATCH v8 1/7] trace: [tracetool] Explicitly identify public backends

2012-12-24 Thread Lluís Vilanova
Public backends are those printed by "--list-backends" and thus considered valid by the configure script. Signed-off-by: Lluís Vilanova --- scripts/tracetool.py |4 ++-- scripts/tracetool/backend/__init__.py | 16 +++- scripts/tracetool/backend/dtrace.py |

[Qemu-devel] [PATCH v8 0/7] trace: Generic event state description

2012-12-24 Thread Lluís Vilanova
Provides a generic event state description structure (TraceEvent) and a more detailed event control and query interface. This is achieved by creating a new "non-public" tracing backend (i.e., not selectable by the user at configure time) that will generate the appropriate event description informa

Re: [Qemu-devel] [PATCH v3] qemu-kvm/pci-assign: 64 bits bar emulation

2012-12-24 Thread Alex Williamson
On Sun, 2012-12-23 at 10:06 +0200, Gleb Natapov wrote: > On Thu, Dec 20, 2012 at 11:07:23AM +0800, Xudong Hao wrote: > > Enable 64 bits bar emulation. > > > > v3 changes from v2: > > - Leave original error string and drop the leading 016. > > > > v2 changes from v1: > > - Change 0lx% to 0x%016 wh

Re: [Qemu-devel] [Bug 1091115] [NEW] qemu-1.3.0 crashes when installing windows xp

2012-12-24 Thread Alexandre DERUMIER
Hi, I have had the same problem with stable qemu 1.3. It's was an acpi problem with seabios. this commit fix it http://git.qemu.org/?p=qemu.git;a=commit;h=ff1562908d1da12362aa9e3f3bfc7ba0da8114a4 - Mail original - De: "楼正伟" À: lazy...@126.com Cc: qemu-devel@nongnu.org Envoyé: Lundi 2

Re: [Qemu-devel] 64bit guest hangs while migrating

2012-12-24 Thread Stefan Priebe
While testing this again i also had 32bit guests where migrate didn't work - kvm source process just eats all CPU. Stefan Am 24.12.2012 00:18, schrieb Stefan Priebe: Hello list, i'm using qemu v1.3.0. Since upgrading from kvm qemu 1.2 my 64bit linux guests hang while online migrating. Has any

Re: [Qemu-devel] [PATCH 0/2 v2] introduce visitor for parsing suffixed integer

2012-12-24 Thread Igor Mammedov
On Sun, 23 Dec 2012 14:34:21 -0600 Anthony Liguori wrote: > Igor Mammedov writes: > > > v2: > > * Naming changes: > > - s/visit_type_uint_suffixed_int/visit_type_suffixed_int/ > > - use 'suffix_factor' instead of 'unit' > > * Added documentation to visit_type_suffixed_int() > > * Fi

Re: [Qemu-devel] [RFC V3 00/24] QCOW2 deduplication

2012-12-24 Thread Benoît Canet
> Yes, it's the same problem that copy-on-read has. We can serialize I/O > requests, if necessary, in order to prevent them racing with each other. My current patchset have a big dedup_lock co mutex. I'll replace it with the overlapping request solution. > Where do you see an issue - do you thin

Re: [Qemu-devel] [RFC] i.MX233 / olinuxino support

2012-12-24 Thread M P
On Tue, Dec 11, 2012 at 3:11 PM, Peter Maydell wrote: > On 11 December 2012 15:08, M P wrote: > > On Tue, Dec 11, 2012 at 2:57 PM, Peter Maydell > > > wrote: > >> "Showing 11 changed files with 2,236 additions and 0 deletions." > >> > >> That commit absolutely has to be broken up into a coherent

Re: [Qemu-devel] [PATCH v2] build: Use separate makefile for "trace/"

2012-12-24 Thread Lluís Vilanova
Anthony Liguori writes: > Lluís Vilanova writes: >> Signed-off-by: Lluís Vilanova >> -- >> Changes in v2: >> >> * Do not depend on "qemu-timer-common.o". >> * Use "$(obj)" in rules to refer to the build sub-directory. >> * Remove dependencies against "$(GENERATED_HEADERS)". >> >> Cc: Paolo Bon

Re: [Qemu-devel] [Bug 1091115] [NEW] qemu-1.3.0 crashes when installing windows xp

2012-12-24 Thread Konrad Frederic
On 24/12/2012 10:48, 楼正伟 wrote: 2012/12/17 LazySid: Bug description: These are the commands: $git checkout v1.3.0 $./configure --prefix=/home/user/tmp --target-list=i386-softmmu --enable-sdl --disable-curses --disable-vnc --enable-kvm --disable-docs $make $make install In /hom

Re: [Qemu-devel] [Bug 1091115] [NEW] qemu-1.3.0 crashes when installing windows xp

2012-12-24 Thread 楼正伟
2012/12/17 LazySid : > Bug description: > These are the commands: > $git checkout v1.3.0 > $./configure --prefix=/home/user/tmp --target-list=i386-softmmu > --enable-sdl --disable-curses --disable-vnc --enable-kvm --disable-docs > $make > $make install > In /home/user/tmp directory: >