[Qemu-devel] [PATCH 1/3] Make thread pool implementation modular

2013-11-01 Thread Matthias Brugger
This patch introduces function pointers for the thread pool, so that it's implementation can be set at run-time. Signed-off-by: Matthias Brugger --- include/block/thread-pool.h | 9 + thread-pool.c | 32 2 files changed, 41 insertions(+) d

[Qemu-devel] [PATCH 2/3] Block layer uses modular thread pool

2013-11-01 Thread Matthias Brugger
With this patch, the calls to the thread pool functions pass through the new modular thread pool implementation. Signed-off-by: Matthias Brugger --- async.c | 4 ++-- block/raw-posix.c | 15 +++ block/raw-win32.c | 9 +++-- include/block/aio.h | 2 +- i

[Qemu-devel] [PATCH 3/3] Add workerthreads configuration option

2013-11-01 Thread Matthias Brugger
This patch allows the definition which thread pool will be used by every block device. The defintion of the workerthreads option allows this at the command line level. At the moment only the thread pool implementation "pool" can be chosen. Signed-off-by: Matthias Brugger --- blockdev.c |

[Qemu-devel] [Bug 1247122] [NEW] kernel guest 3.10.6 boot failure at sha_transform

2013-11-01 Thread Christoph Eck
Public bug reported: Error occured with - QEMU emulator version 1.6.1 and - QEMU emulator version 1.2.0 (qemu-kvm-1.2.0+noroms-0ubuntu2.12.10.5, Debian) started qemu-system-i386 with default settings and no additional arguments. Tested a kernel version 3.5.4 without any problems. Hint: new ke

[Qemu-devel] Make thread pool implementation modular

2013-11-01 Thread Matthias Brugger
This patch series makes the thread pool implementation modular. This allows each drive to use a special implementation. The patch series prepares qemu to be able to include thread pools different the one actually implemented. It will allow to implement approaches like paravirtualized block request

Re: [Qemu-devel] [PATCH 05/13] target-openrisc: Remove TLB flush on exception

2013-11-01 Thread Richard Henderson
On 10/29/2013 03:41 PM, Sebastian Macke wrote: > > What is included in the tb hash? The virtual pc + physical page + the > tb_flags? > Not the mmu_index? What's included is everything you return from cpu_get_tb_cpu_state. Note that cs_base is an interesting case. On i386 real mode, it's what t

Re: [Qemu-devel] [PATCH 05/13] target-openrisc: Remove TLB flush on exception

2013-11-01 Thread Richard Henderson
On 11/01/2013 11:58 AM, Peter Maydell wrote: >> > What is included in the tb hash? The virtual pc + physical page + the >> > tb_flags? Not the mmu_index? > You're right that the mmu_index is not included in the tb hash. > Does that mean that the CPU state which determines the > mmu_index needs to b

[Qemu-devel] [PATCH] qemu-ga: vss-win32: Install VSS provider COM+ application service

2013-11-01 Thread Tomoki Sekiyama
Currently, qemu-ga for Windows fails to execute guset-fsfreeze-freeze when no user is logging in to Windows, with an error message: {"error":{"class":"GenericError", "desc":"failed to add C:\\ to snapshotset: (error: 8004230f)"}} To enable guest-fsfreeze-freeze/thaw without logging

Re: [Qemu-devel] [PATCH 05/13] target-openrisc: Remove TLB flush on exception

2013-11-01 Thread Peter Maydell
On 29 October 2013 22:41, Sebastian Macke wrote: > On 29/10/2013 12:47 PM, Peter Maydell wrote: >> >> On 29 October 2013 19:04, Sebastian Macke wrote: >>> /* Internal flags, delay slot flag */ >>> -#define D_FLAG1 >>> +#define D_FLAG2 >> >> Since this set of #defines effectively is the

[Qemu-devel] [PATCH 2/2] vfio-pci: Make use of new KVM-VFIO device

2013-11-01 Thread Alex Williamson
Add and remove groups from the KVM virtual VFIO device as we make use of them. This allows KVM to optimize for performance and correctness based on properties of the group. Signed-off-by: Alex Williamson --- hw/misc/vfio.c | 67 1 file

[Qemu-devel] [PATCH 0/2] vfio-pci: Enable KVM-VFIO device

2013-11-01 Thread Alex Williamson
The KVM-VFIO device was just introduced into kvm.git/next with an initial goal of managing whether guests are capable of non-coherent DMA. This is potentially important for any VFIO assigned device, but particularly important to some graphics cards which are known to make use of the NoSnoop capabi

[Qemu-devel] [PATCH 1/2] linux-headers: Update from kvm.git 81e87e26796782e014fd1f2bb9cd8fb6ce4021a8

2013-11-01 Thread Alex Williamson
Current next branch. Signed-off-by: Alex Williamson --- linux-headers/asm-arm/kvm.h |3 ++- linux-headers/asm-powerpc/epapr_hcalls.h |4 ++-- linux-headers/asm-x86/kvm.h |6 +++--- linux-headers/linux/kvm.h|7 +++ 4 files changed, 14

Re: [Qemu-devel] [PATCH] Adjust qapi-visit for python-2.4.3

2013-11-01 Thread Luiz Capitulino
On Thu, 31 Oct 2013 13:26:01 -0700 Richard Henderson wrote: > We say we support python 2.4, but python 2.4.3 does not > support the "expr if test else expr" syntax used here. > > This allows QEMU to compile on RHEL 5.3, the last release for ia64. > > Signed-off-by: Richard Henderson Applied t

Re: [Qemu-devel] [sheepdog] [PATCH v5 RESENT 0/2] sheepdog: add user-defined redundancy option

2013-11-01 Thread MORITA Kazutaka
At Fri, 1 Nov 2013 23:10:11 +0800, Liu Yuan wrote: > > v5: > - use pstrcpy instead of strncpy > - fix a segfalt for 'null' string option string > > v4: > - fix do_sd_create that forgot to pass nr_copies > - fix parse_redundancy dealing with replicated vdi > > v3: > - rework is_numeric > >

Re: [Qemu-devel] [PATCH] Adjust qapi-visit for python-2.4.3

2013-11-01 Thread Michael Roth
Quoting Richard Henderson (2013-10-31 15:26:01) > We say we support python 2.4, but python 2.4.3 does not > support the "expr if test else expr" syntax used here. > > This allows QEMU to compile on RHEL 5.3, the last release for ia64. > > Signed-off-by: Richard Henderson Reviewed-by: Michael Ro

Re: [Qemu-devel] [PATCH v8 00/19] VHDX log replay and write support, .bdrv_create()

2013-11-01 Thread Jeff Cody
On Thu, Oct 31, 2013 at 02:10:48PM +0100, Stefan Hajnoczi wrote: > On Wed, Oct 30, 2013 at 10:44:37AM -0400, Jeff Cody wrote: > > This patch series contains the initial VHDX log parsing, replay, > > write support, and image creation. > > > > === v8 changes === > > https://github.com/codyprime/qemu

[Qemu-devel] [PATCH v5 0/2] sheepdog: add user-defined redundancy option

2013-11-01 Thread Liu Yuan
v5: - use pstrcpy instead of strncpy - fix a segfalt for 'null' string option string v4: - fix do_sd_create that forgot to pass nr_copies - fix parse_redundancy dealing with replicated vdi v3: - rework is_numeric v2: - fix a typo in comment and commit log This patch set add one sheepdog

Re: [Qemu-devel] How to introduce bs->node_name ?

2013-11-01 Thread Luiz Capitulino
On Fri, 01 Nov 2013 08:59:20 -0600 Eric Blake wrote: > On 11/01/2013 08:51 AM, Luiz Capitulino wrote: > > On Wed, 30 Oct 2013 13:25:35 -0600 > > Eric Blake wrote: > > > >> On 10/30/2013 07:49 AM, Markus Armbruster wrote: > >> > >>> > >>> The first proposal is to add another parameter, say "id".

[Qemu-devel] [PATCH v5 2/2] sheepdog: support user-defined redundancy option

2013-11-01 Thread Liu Yuan
Sheepdog support two kinds of redundancy, full replication and erasure coding. # create a fully replicated vdi with x copies -o redundancy=x (1 <= x <= SD_MAX_COPIES) # create a erasure coded vdi with x data strips and y parity strips -o redundancy=x:y (x must be one of {2,4,8,16} and 1 <= y <

[Qemu-devel] [PATCH v5 1/2] sheepdog: refactor do_sd_create()

2013-11-01 Thread Liu Yuan
We can actually use BDRVSheepdogState *s to pass most of the parameters. Cc: Kevin Wolf Cc: Stefan Hajnoczi Signed-off-by: Liu Yuan --- block/sheepdog.c | 37 +++-- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/block/sheepdog.c b/block/sheepd

[Qemu-devel] [PATCH v5 RESENT 0/2] sheepdog: add user-defined redundancy option

2013-11-01 Thread Liu Yuan
v5: - use pstrcpy instead of strncpy - fix a segfalt for 'null' string option string v4: - fix do_sd_create that forgot to pass nr_copies - fix parse_redundancy dealing with replicated vdi v3: - rework is_numeric v2: - fix a typo in comment and commit log This patch set add one sheepdog

Re: [Qemu-devel] [PATCH v5 0/2] sheepdog: add user-defined redundancy option

2013-11-01 Thread Liu Yuan
On Fri, Nov 01, 2013 at 11:06:20PM +0800, Liu Yuan wrote: > v5: > - use pstrcpy instead of strncpy > - fix a segfalt for 'null' string option string Oops, I sent the old patch set. Please ignore it I'll send a new v5. Thanks Yuan

[Qemu-devel] [PATCH v5 1/2] sheepdog: refactor do_sd_create()

2013-11-01 Thread Liu Yuan
We can actually use BDRVSheepdogState *s to pass most of the parameters. Cc: Kevin Wolf Cc: Stefan Hajnoczi Signed-off-by: Liu Yuan --- block/sheepdog.c | 37 +++-- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/block/sheepdog.c b/block/sheepd

[Qemu-devel] [PATCH v5 2/2] sheepdog: support user-defined redundancy option

2013-11-01 Thread Liu Yuan
Sheepdog support two kinds of redundancy, full replication and erasure coding. # create a fully replicated vdi with x copies -o redundancy=x (1 <= x <= SD_MAX_COPIES) # create a erasure coded vdi with x data strips and y parity strips -o redundancy=x:y (x must be one of {2,4,8,16} and 1 <= y <

Re: [Qemu-devel] How to introduce bs->node_name ?

2013-11-01 Thread Eric Blake
On 11/01/2013 08:51 AM, Luiz Capitulino wrote: > On Wed, 30 Oct 2013 13:25:35 -0600 > Eric Blake wrote: > >> On 10/30/2013 07:49 AM, Markus Armbruster wrote: >> >>> >>> The first proposal is to add another parameter, say "id". Users can >>> then refer either to an arbitrary BDS by "id", or (for

Re: [Qemu-devel] How to introduce bs->node_name ?

2013-11-01 Thread Luiz Capitulino
On Wed, 30 Oct 2013 13:25:35 -0600 Eric Blake wrote: > On 10/30/2013 07:49 AM, Markus Armbruster wrote: > > > > > The first proposal is to add another parameter, say "id". Users can > > then refer either to an arbitrary BDS by "id", or (for backward > > compatibility) to the root BDS by "devic

Re: [Qemu-devel] [RFC] vmstate: Add info vmstate HMP command (WIP)

2013-11-01 Thread Luiz Capitulino
On Thu, 24 Oct 2013 16:34:50 +0100 Andreas Färber wrote: > This adds a command "info vmstate" for dumping a textual representation > of the currently registered VMStateDescriptions. > > Being purely for debugging, intentionally no QMP schema is set in stone. We had a discussion in the past abou

[Qemu-devel] [Bug 1246012] Re: QEMU removes postgresql

2013-11-01 Thread Serge Hallyn
Agreed, closing against QEMU project. If you feel this is a bug in the ubuntu qemu package, then please target it as such (but I suspect that will also become invalid) ** Changed in: qemu Status: Incomplete => Invalid -- You received this bug notification because you are a member of qemu

Re: [Qemu-devel] [PATCH 0/6] qapi: generate event defines automatically

2013-11-01 Thread Luiz Capitulino
On Mon, 21 Oct 2013 10:15:59 +0800 Wenchao Xia wrote: > This series move the event define to qapi code, so later other components > could use it easily, it also make monitor code less and easier to decouple > with other code. Yes, this is an improvement over the current code. But it doesn't move

Re: [Qemu-devel] [sheepdog] [PATCH v4 2/2] sheepdog: support user-defined redundancy option

2013-11-01 Thread MORITA Kazutaka
At Thu, 31 Oct 2013 13:49:28 +0800, Liu Yuan wrote: > > +/* > + * Sheepdog support two kinds of redundancy, full replication and erasure > + * coding. > + * > + * # create a fully replicated vdi with x copies > + * -o redundancy=x (1 <= x <= SD_MAX_COPIES) > + * > + * # create a erasure coded vdi

Re: [Qemu-devel] [libvirt] QEMU 1.6 and drive discard parameter

2013-11-01 Thread Gareth Bult
Hey guys, I've just rolled out Qemu 1.6 to fix problems I've been having, which worked fine .. but I've now lost discard support which is a problem. Is there an easy / quick fix for this without digging through other people's code? I'm happy to compile up whatever is necessary, I just need the

Re: [Qemu-devel] savevm/loadvm

2013-11-01 Thread Max Reitz
Hi, Sorry I'm just now replying to this. I ran into the same issue (and another one) and it should be fixed by the upstream commits eedff66f21e542650d895801549ce05ac108278b and 6e13610aa454beba52944e8df6d93158d68ab911. Those have been merged to master yesterday, so could you re-build qemu from mas

Re: [Qemu-devel] [PATCH 3/6] qapi: rename prefix QEVENT to Q_EVENT

2013-11-01 Thread Luiz Capitulino
On Tue, 29 Oct 2013 10:09:40 -0600 Eric Blake wrote: > On 10/28/2013 11:22 PM, Wenchao Xia wrote: > > >> > > MONITOR_EVENT seems tide to monitor too much, since it will be present > > in qapi-schema, I think Q_EVENT_ or QMP_EVENT_KIND would be better? > > I don't have a strong enough opinion

Re: [Qemu-devel] [PATCH 2/6] qapi: rename MonitorEvent to QEvent

2013-11-01 Thread Luiz Capitulino
On Mon, 21 Oct 2013 10:16:01 +0800 Wenchao Xia wrote: > Signed-off-by: Wenchao Xia > --- > block.c|2 +- > include/block/block_int.h |2 +- > include/monitor/monitor.h |6 +++--- > monitor.c | 12 ++-- > stubs/mon-protocol-event.c |

Re: [Qemu-devel] savevm/loadvm

2013-11-01 Thread Alexey Kardashevskiy
On 10/16/2013 05:51 PM, Alexey Kardashevskiy wrote: > On 10/10/2013 02:50 PM, Alexey Kardashevskiy wrote: >> On 10/09/2013 06:47 PM, Paolo Bonzini wrote: >>> Il 09/10/2013 09:15, Alexey Kardashevskiy ha scritto: Sorry for my ignorance (I never ever touched this part of qemu) but how can y

[Qemu-devel] [PATCH V3 06/19] Add VSX ISA2.06 xmul Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point multiply instructions defined by V2.06 of the PowerPC ISA: xsmuldp, xvmuldp, xvmulsp. V2: re-implemented VSX_MUL macro. Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 46 ++ target-ppc/helper.h |

[Qemu-devel] [Bug 1246990] Re: [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11 (Segmentation fault) - core dumped

2013-11-01 Thread skzzha
and, `strace ./rjsuuplicant -n eth0 -u USER -p PASS -d 1 -s internet` is attached as strace_native.log ** Attachment added: "strace_native.log" https://bugs.launchpad.net/qemu/+bug/1246990/+attachment/3897370/+files/strace_native.log ** Also affects: qemu (Ubuntu) Importance: Undecided

[Qemu-devel] [Bug 1246990] [NEW] [qemu-x86-64-linux-user 1.6.1] qemu: uncaught target signal 11 (Segmentation fault) - core dumped

2013-11-01 Thread skzzha
Public bug reported: Rjsupplicant is an authentication client of Campus Network in most universities in China. Its Linux version has only x86 and amd64 version. On linux: ./qemu-x86_64 is compiled from latest qemu 1.6.1, with ./configure options: --enable-debug --target-list=x86_64-linux-user .

[Qemu-devel] [PATCH V3 19/19] Add VSX Rounding Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX Round to Floating Point Integer instructions: - xsrdpi, xsrdpic, xsrdpim, xsrdpip, xsrdpiz - xvrdpi, xvrdpic, xvrdpim, xvrdpip, xvrdpiz - xvrspi, xvrspic, xvrspim, xvrspip, xvrspiz Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 68

[Qemu-devel] [PATCH V3 17/19] Add VSX Floating Point to Floating Point Conversion Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX instructions that convert between floating point formats: xscvdpsp, xscvspdp, xvcvdpsp, xvcvspdp. Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 46 ++ target-ppc/helper.h |4 target-ppc/translate.c |

[Qemu-devel] [PATCH V3 16/19] Add VSX Vector Compare Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point compare vector instructions: - xvcmpeqdp[.], xvcmpgedp[.], xvcmpgtdp[.] - xvcmpeqsp[.], xvcmpgesp[.], xvcmpgtsp[.] Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 57 +++ target-ppc/helper.h |

[Qemu-devel] [PATCH V3 15/19] Add VSX xmax/xmin Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point maximum and minimum instructions: - xsmaxdp, xvmaxdp, xvmaxsp - xsmindp, xvmindp, xvminsp Because of the Power ISA definitions of maximum and minimum on various boundary cases, the standard softfloat comparison routines (e.g. float64_lt) do not work as w

[Qemu-devel] [PATCH V3 18/19] Add VSX ISA2.06 Integer Conversion Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX Integer Conversion instructions defined by V2.06 of the PowerPC ISA: - xscvdpsxds, xscvdpsxws, xscvdpuxds, xscvdpuxws - xvcvdpsxds, xvcvdpsxws, xvcvdpuxds, xvcvdpuxws - xvcvspsxds, xvcvspsxws, xvcvspuxds, xvcvspuxws - xscvsxddp, xscvuxddp - xvcvsxddp, xscvsxwdp, x

[Qemu-devel] [PATCH V3 10/19] Add VSX ISA2.06 xrsqrte Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point reciprocal square root estimate instructions defined by V2.06 of the PowerPC ISA: xsrsqrtedp, xvrsqrtedp, xvrsqrtesp. V2: re-implemented VSX_RSQRTE macro. Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 45 +

[Qemu-devel] [PATCH V3 13/19] Add VSX ISA2.06 Multiply Add Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point multiply/add instructions defined by V2.06 of the PowerPC ISA: - xsmaddadp, xvmaddadp, xvmaddasp - xsmaddmdp, xvmaddmdp, xvmaddmsp - xsmsubadp, xvmsubadp, xvmsubasp - xsmsubmdp, xvmsubmdp, xvmsubmsp - xsnmaddadp, xvnmaddadp, xvnmaddasp - x

[Qemu-devel] [PATCH V3 07/19] Add VSX ISA2.06 xdiv Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point divide instructions defined by V2.06 of the PowerPC ISA: xsdivdp, xvdivdp, xvdivsp. V2: re-implemented the VSX_DIV macro. Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 49 +++ target-ppc/helper.h |

[Qemu-devel] [PATCH V3 14/19] Add VSX xscmp*dp Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX scalar floating point compare ordered and unordered instructions. Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 39 +++ target-ppc/helper.h |2 ++ target-ppc/translate.c |4 3 files changed, 45 insertions(+)

[Qemu-devel] [PATCH V3 05/19] Add VSX ISA2.06 xadd/xsub Instructions

2013-11-01 Thread Tom Musta
This patch adds the floating point addition and subtraction instructions defined by V2.06 of the PowerPC ISA: xssubdp, xvsubdp and xvsubsp. V2: re-implemented helper macro and combined add and substract. Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 51 +++

[Qemu-devel] [PATCH V3 08/19] Add VSX ISA2.06 xre Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point reciprocal estimate instructions defined by V2.06 of the PowerPC ISA: xsredp, xvredp, xvresp. Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 35 +++ target-ppc/helper.h |3 +++ target-ppc/translate.c |6

[Qemu-devel] [PATCH V3 12/19] Add VSX ISA2.06 xtsqrt Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point test for software square root instructions defined by V2.06 of the PowerPC ISA: xstsqrtdp, xvtsqrtdp, xvtsqrtsp. V2: (a) using locally implemented ppc_float*_get_unbiased_exp routines (b) eliminated dependency on float*_is_denormal(). Signed-off-by: Tom Mus

[Qemu-devel] [PATCH V3 09/19] Add VSX ISA2.06 xsqrt Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point square root instructions defined by V2.06 of the PowerPC ISA: xssqrtdp, xvsqrtdp, xvsqrtsp. V2: re-implemented the VSX_SQRT macro. Signed-off-by: Tom Musta --- target-ppc/fpu_helper.c | 44 target-ppc/helper.h

[Qemu-devel] [PATCH V3 11/19] Add VSX ISA2.06 xtdiv Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX floating point test for software divide instructions defined by V2.06 of the PowerPC ISA: xstdivdp, xvtdivdp, and xvtdivsp. V2: added ppc_float*_get_unbiased_exp() routines (pulled back from softfloat). Eliminated dependency on float*_is_denormalized() routines. Signed-of

[Qemu-devel] [PATCH V3 04/19] General Support for VSX Helpers

2013-11-01 Thread Tom Musta
This patch adds general support that will be used by the VSX helper routines: - a union describing the various VSR subfields. - access routines to get and set VSRs - VSX decoders - a general routine to generate a handler that invokes a VSX helper. Signed-off-by: Tom Musta --- target

[Qemu-devel] [PATCH V3 02/19] Add float32_to_uint64()

2013-11-01 Thread Tom Musta
This patch adds the float32_to_uint64() routine, which converts a 32-bit floating point number to an unsigned 64 bit number. This contribution can be licensed under either the softfloat-2a or -2b license. V2: Reduced patch to just this single routine per feedback from Peter Maydell. Signed-off-b

[Qemu-devel] [PATCH V3 03/19] Add set_fprf Argument to fload_invalid_op_excp()

2013-11-01 Thread Tom Musta
The fload_invalid_op_excp() function sets assorted invalid operation status bits. However, it also implicitly modifies the FPRF field of the PowerPC FPSCR. Many VSX instructions set invalid operation bits but do not alter FPRF. Thus the function is more generally useful if the setting of the FPR

[Qemu-devel] [PATCH V3 00/19] PowerPC VSX Stage 3

2013-11-01 Thread Tom Musta
NOTE: this is a resubmission of the previous (V2) patch series. There was corruption in some of the patches. The logical content is identical to V2. This is the third series of patches to add PowerPC VSX emulation support to QEMU. This series adds the floating point arithmetic, compare, convers

[Qemu-devel] [PATCH V3 01/19] Fix float64_to_uint64

2013-11-01 Thread Tom Musta
The comment preceding the float64_to_uint64 routine suggests that the implementation is broken. And this is, indeed, the case. This patch properly implements the conversion of a 64-bit floating point number to an unsigned, 64 bit integer. This contribution can be licensed under either the softfl

[Qemu-devel] [PATCH V3 13/13] Add xxsldwi

2013-11-01 Thread Tom Musta
This patch adds the VSX Shift Left Double by Word Immediate (xxsldwi) instruction. Signed-off-by: Tom Musta --- target-ppc/translate.c | 62 1 files changed, 62 insertions(+), 0 deletions(-) diff --git a/target-ppc/translate.c b/target-ppc/tran

[Qemu-devel] [PATCH V3 06/13] Add stxvw4x

2013-11-01 Thread Tom Musta
This patch adds the Store VSX Vector Word*4 Indexed (stxvw4x) instruction. Signed-off-by: Tom Musta --- target-ppc/translate.c | 28 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 4860e53..047e8

[Qemu-devel] [PATCH V3 10/13] Add xxmrgh/xxmrgl

2013-11-01 Thread Tom Musta
This patch adds the VSX Merge High Word and VSX Merge Low Word instructions. V2: Now implemented using deposit (per Richard Henderson's comment) Signed-off-by: Tom Musta --- target-ppc/translate.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-

[Qemu-devel] [PATCH V3 12/13] Add xxspltw

2013-11-01 Thread Tom Musta
This patch adds the VSX Splat Word (xxsplatw) instruction. This is the first instruction to use the UIM immediate field and consequently a decoder is also added. V2: reworked implementation per Richard Henderson's comments. Signed-off-by: Tom Musta --- target-ppc/translate.c | 31 +++

[Qemu-devel] [PATCH V3 07/13] Add VSX Scalar Move Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX scalar move instructions: - xsabsdp (Scalar Absolute Value Double-Precision) - xsnabspd (Scalar Negative Absolute Value Double-Precision) - xsnegdp (Scalar Negate Double-Precision) - xscpsgndp (Scalar Copy Sign Double-Precision) A common generator macro (VSX_SCALAR

[Qemu-devel] [PATCH V3 11/13] Add xxsel

2013-11-01 Thread Tom Musta
This patch adds the VSX Select (xxsel) instruction. The xxsel instruction has four VSR operands. Thus the xC instruction decoder is added. The xxsel instruction is massively overloaded in the opcode table since only bits 26 and 27 are opcode bits. This overloading is done in matrix fashion with

[Qemu-devel] [PATCH V3 08/13] Add VSX Vector Move Instructions

2013-11-01 Thread Tom Musta
This patch adds the vector move instructions: - xvabsdp - Vector Absolute Value Double-Precision - xvnabsdp - Vector Negative Absolute Value Double-Precision - xvnegdp - Vector Negate Double-Precision - xvcpsgndp - Vector Copy Sign Double-Precision - xvabssp - Vector Absolute Value Singl

[Qemu-devel] [PATCH V3 09/13] Add Power7 VSX Logical Instructions

2013-11-01 Thread Tom Musta
This patch adds the VSX logical instructions that are defined by the Version 2.06 Power ISA (aka Power7): - xxland - xxlandc - xxlor - xxlxor - xxlnor Signed-off-by: Tom Musta --- target-ppc/translate.c | 29 + 1 files changed, 29 insertions(+), 0 de

[Qemu-devel] [PATCH V3 03/13] Add lxvdsx

2013-11-01 Thread Tom Musta
This patch adds the Load VSX Vector Doubleword & Splat Indexed (lxvdsx) instruction. Signed-off-by: Tom Musta --- target-ppc/translate.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 1e2cce1..6a359a2

[Qemu-devel] [PATCH V3 05/13] Add stxsdx

2013-11-01 Thread Tom Musta
This patch adds the Store VSX Scalar Doubleword Indexed (stxsdx) instruction. Signed-off-by: Tom Musta --- target-ppc/translate.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 7e5b363..4860e53 100644

[Qemu-devel] [PATCH V3 02/13] Add lxsdx

2013-11-01 Thread Tom Musta
This patch adds the Load VSX Scalar Doubleowrd Indexed (lxsdx) instruction. The lower 8 bytes of the target register are undefined; this implementation leaves those bytes unaltered. Signed-off-by: Tom Musta --- target-ppc/translate.c | 16 1 files changed, 16 insertions(+), 0

[Qemu-devel] [PATCH V3 04/13] Add lxvw4x

2013-11-01 Thread Tom Musta
This patch adds the Load VSX Vector Word*4 Indexed (lxvw4x) instruction. V2: changed to use deposit_i64 per Richard Henderson's review. Signed-off-by: Tom Musta --- target-ppc/translate.c | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/targe

[Qemu-devel] [PATCH V3 01/13] Abandon GEN_VSX_* macros

2013-11-01 Thread Tom Musta
This patch eliminates the GEN_VSX_LXVNX/GEN_VSX_STXVNX macros which did not provide significant value above the general GEN_HANDLER_E macro. Signed-off-by: Tom Musta --- target-ppc/translate.c | 12 ++-- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/target-ppc/transla

[Qemu-devel] [PATCH V3 00/13] Stage 2 VSX Support

2013-11-01 Thread Tom Musta
NOTE: this is a resubmission of this patch series. Alex discovered some corruption in the patches from my previous submission. This patch series continues adding support for the PowerPC Vector Scalar Extension (VSX). Patches are relative to the Stage 1 delivery (see http://lists.nongnu.org/arch

Re: [Qemu-devel] [RFC PATCH] spapr: add ibmveth to the supported network adapters list

2013-11-01 Thread Alexander Graf
Am 01.11.2013 um 03:52 schrieb Alexey Kardashevskiy : > On 10/28/2013 05:03 AM, Alexander Graf wrote: >> >> On 10.10.2013, at 20:09, Alexey Kardashevskiy wrote: >> >>> The problem is that "-net nic,model=?" does not print "ibmveth" in >>> the list while it is actually supported. >>> >>> Most

Re: [Qemu-devel] [Qemu-trivial] [PATCH] vl: fix build when configured with no graphic support

2013-11-01 Thread Antony Pavlov
On Fri, 01 Nov 2013 15:18:28 +0400 Michael Tokarev wrote: > 01.11.2013 15:14, Antony Pavlov wrote: > > On Fri, 01 Nov 2013 14:29:24 +0400 > > Michael Tokarev wrote: > > > >> 29.10.2013 08:36, Antony Pavlov wrote > >>> The following error occurs when building no graphic output support: > >

Re: [Qemu-devel] [Qemu-ppc] [v2 02/13] Add lxsdx

2013-11-01 Thread Tom Musta
On 10/31/2013 5:58 PM, Alexander Graf wrote: > > On 11.10.2013, at 05:57, Tom Musta wrote: > >> This patch adds the Load VSX Scalar Doubleowrd Indexed (lxsdx) >> instruction. >> >> The lower 8 bytes of the target register are undefined; this >> implementation leaves those bytes unaltered. >> >>

Re: [Qemu-devel] [PATCH] qapi: Fix comment for create-type to match code.

2013-11-01 Thread Eric Blake
On 11/01/2013 03:35 AM, Fam Zheng wrote: > Signed-off-by: Fam Zheng > --- > qapi-schema.json | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/qapi-schema.json b/qapi-schema.json > index 81a375b..76c98a7 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -227,7

Re: [Qemu-devel] VHD suport in QEMU?

2013-11-01 Thread Jeff Cody
On Fri, Nov 01, 2013 at 06:04:19AM +0100, Philipp Hahn wrote: > Hello, > > sorry for high-jacking this thread, but I have a questing regarding VHD > (without the X): Xen-4.3 switched to upstream QEMUs support for VHD. The > dropped their own VHD implementation in blktap2, which supported backing

[Qemu-devel] [Bug 1246012] Re: QEMU removes postgresql

2013-11-01 Thread Michael Tokarev
Furthermore, I completely fail to see how this is relevant to the qemu project. This bug should be filed against the distribution supplied the binary packages, whose metadata is (apparently) wrong. Upstream qemu does not provide .deb packages and repositories. -- You received this bug notificat

[Qemu-devel] [Bug 1246012] Re: QEMU removes postgresql

2013-11-01 Thread Michael Tokarev
(Having said that, I'd say this bugreport should be closed as invalid instead of being investigated further) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1246012 Title: QEMU removes postgresql St

Re: [Qemu-devel] [v2, 3/4] qemu-char: add support for U-prefixed symbols

2013-11-01 Thread Michael Tokarev
01.11.2013 13:59, Michael Tokarev пишет: 16.10.2013 16:40, Jan Krupa wrote: This patch adds support for Unicode symbols in keymap files. This feature was already used in some keyboard layouts in QEMU generated from XKB (e.g. Arabic) but it wasn't implemented in QEMU source code. There is no nee

Re: [Qemu-devel] [Qemu-trivial] [PATCH] vl: fix build when configured with no graphic support

2013-11-01 Thread Michael Tokarev
01.11.2013 15:14, Antony Pavlov wrote: On Fri, 01 Nov 2013 14:29:24 +0400 Michael Tokarev wrote: 29.10.2013 08:36, Antony Pavlov wrote The following error occurs when building no graphic output support: ^ Can you plese fix misprint in my git co

Re: [Qemu-devel] [RFC PATCH] spapr: add ibmveth to the supported network adapters list

2013-11-01 Thread Alexey Kardashevskiy
On 10/28/2013 05:03 AM, Alexander Graf wrote: > > On 10.10.2013, at 20:09, Alexey Kardashevskiy wrote: > >> The problem is that "-net nic,model=?" does not print "ibmveth" in >> the list while it is actually supported. >> >> Most of the QEMU emulated network devices are PCI but "ibmveth" >> (a.k

Re: [Qemu-devel] [Bug 1246890] [NEW] AC97 sound card crashes QEMU

2013-11-01 Thread Jan Kiszka
On 2013-10-31 21:48, John Arbuckle wrote: > Public bug reported: > > The AC97 sound card does not work. It stops QEMU on startup. The cause > appears to be some kind of deadlock. > > Steps to reproduce: > Just add -soundhw ac97 to QEMU's arguments. Example: qemu-system-ppc -soundhw > ac97 > > T

[Qemu-devel] [PATCH] spapr: make sure RMA is in first mode of first memory node

2013-11-01 Thread Alexey Kardashevskiy
SLOF gets really confused if RTAS/device-tree and everything else what SLOF can use is not in the very first block of the very first memory node. This makes sure that the RMA area is where SLOF expects it to be. Cc: Benjamin Herrenschmidt Cc: Nikunj A Dadhania Signed-off-by: Alexey Kardashevski

Re: [Qemu-devel] [Qemu-trivial] [PATCH] vl: fix build when configured with no graphic support

2013-11-01 Thread Michael Tokarev
29.10.2013 08:36, Antony Pavlov wrote The following error occurs when building no graphic output support: vl.c: In function ‘main’: vl.c:2829:19: error: variable ‘ds’ set but not used [-Werror=unused-but-set-variable] DisplayState *ds; ^ cc1: all warnings

Re: [Qemu-devel] [Qemu-trivial] [PATCH v2] usb: drop unused USBNetState.inpkt field

2013-11-01 Thread Michael Tokarev
29.10.2013 18:44, Stefan Hajnoczi wrote: [] Thanks, applied to the trivial-patches queue. /mjt

[Qemu-devel] [PATCH] qemu: Broken -smb with latest SAMBA package. (Unsupported security=share option)

2013-11-01 Thread Michael Tokarev
01.11.2013 13:54, Michael Büsch wrote: On Fri, 01 Nov 2013 13:32:49 +0400 Michael Tokarev wrote: That looks right. Are you okay adding your Signed-off-by to the patch you initially submitted? If yes, I'll make a formal patch submission upstream. Here you go. Thank you! Adding Jan as sli

Re: [Qemu-devel] [v2,2/4] qemu-char: add Czech keymap file

2013-11-01 Thread Michael Tokarev
16.10.2013 16:40, Jan Krupa wrote: This patch adds Czech keyboard layout to available keymap files and Makefile. Thanks, applied to the trivial-patches queue. Again, I rely solely on you for the correctness of the keymap itself. I'm sorry this took so long. /mjt

Re: [Qemu-devel] [v2, 1/4] qemu-char: add Czech characters to VNC keysyms

2013-11-01 Thread Michael Tokarev
16.10.2013 16:40, Jan Krupa wrote: This patch adds missing Czech characters to the VNC keysym table. Thanks, applied to the trivial-patches queue. /mjt

Re: [Qemu-devel] [v2, 4/4] qemu-char: add missing characters used in keymaps

2013-11-01 Thread Michael Tokarev
16.10.2013 16:40, Jan Krupa wrote: This patch adds all missing characters used in regional keymap files which already exist in QEMU. I checked for the missing characters by going through all of the keymaps and matching that with records in vnc_keysym.h. If the key wasn't found I looked it up in l

Re: [Qemu-devel] [v2, 3/4] qemu-char: add support for U-prefixed symbols

2013-11-01 Thread Michael Tokarev
16.10.2013 16:40, Jan Krupa wrote: This patch adds support for Unicode symbols in keymap files. This feature was already used in some keyboard layouts in QEMU generated from XKB (e.g. Arabic) but it wasn't implemented in QEMU source code. There is no need for check of validity of the hex string

Re: [Qemu-devel] Bug#727756: qemu: Broken -smb with latest SAMBA package. (Unsupported security=share option)

2013-11-01 Thread Michael Büsch
On Fri, 01 Nov 2013 13:32:49 +0400 Michael Tokarev wrote: > That looks right. Are you okay adding your Signed-off-by to the patch > you initially submitted? If yes, I'll make a formal patch submission > upstream. Here you go. From: Michael Buesch Subject: [PATCH] qemu/slirp: Fix SMB security

[Qemu-devel] [PATCH] qapi: Fix comment for create-type to match code.

2013-11-01 Thread Fam Zheng
Signed-off-by: Fam Zheng --- qapi-schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qapi-schema.json b/qapi-schema.json index 81a375b..76c98a7 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -227,7 +227,7 @@ ## # @ImageInfoSpecificVmdk: # -# @create_type:

Re: [Qemu-devel] [PULL 30/30] vmdk: Implment bdrv_get_specific_info

2013-11-01 Thread Fam Zheng
On Thu, 10/31 17:20, Kevin Wolf wrote: > Am 31.10.2013 um 17:13 hat Eric Blake geschrieben: > > On 10/31/2013 09:48 AM, Kevin Wolf wrote: > > > From: Fam Zheng > > > > > > Implement .bdrv_get_specific_info to return the extent information. > > > > > > Signed-off-by: Fam Zheng > > > Signed-off-b

Re: [Qemu-devel] Bug#727756: qemu: Broken -smb with latest SAMBA package. (Unsupported security=share option)

2013-11-01 Thread Michael Tokarev
26.10.2013 20:44, Michael Büsch wrote: [] Also, which users are "bad" -- will it be possible for our user to "clash" with some built-in/known user? 'bad" users seem to be users that are not in the smbpasswd file. As qemu creates an empty smbpasswd file, all users probably are "bad". That look

Re: [Qemu-devel] VHD suport in QEMU?

2013-11-01 Thread Stefan Hajnoczi
On Fri, Nov 01, 2013 at 06:04:19AM +0100, Philipp Hahn wrote: > sorry for high-jacking this thread, but I have a questing regarding VHD > (without the X): Xen-4.3 switched to upstream QEMUs support for VHD. The > dropped their own VHD implementation in blktap2, which supported backing > chains,

Re: [Qemu-devel] [PATCH v4 0/2] sheepdog: add user-defined redundancy option

2013-11-01 Thread Liu Yuan
On Thu, Oct 31, 2013 at 01:49:26PM +0800, Liu Yuan wrote: > v4: > - fix do_sd_create that forgot to pass nr_copies > - fix parse_redundancy dealing with replicated vdi Hello Kevin, Could you pick these two patches to your block tree (so QEMU next release can enjoy the full erasure coding f

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

2013-11-01 Thread Anthony Liguori
On Thu, Oct 31, 2013 at 10:52 PM, Paolo Bonzini wrote: > Il 31/10/2013 21:50, Anthony Liguori ha scritto: >> /x86_64/ide/bmdma/setup: OK >> /x86_64/ide/bmdma/simple_rw: OK >> /x86_64/ide/bmdma/short_prdt: