[Qemu-devel] [PATCH 02/17] chardev: add mux chardev support to qapi

2013-02-27 Thread Gerd Hoffmann
This adds mux chardev support to the qapi and also makes the qapi-based chardev creation path handle the "mux=on" option correctly. --- qapi-schema.json | 14 +- qemu-char.c | 35 --- 2 files changed, 45 insertions(+), 4 deletions(-) diff --git

[Qemu-devel] [PATCH 06/17] chardev: switch file init to qapi

2013-02-27 Thread Gerd Hoffmann
This patch switches over the 'file' chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- qemu-char.c | 43 +++ 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 5dc391d..180fffe

[Qemu-devel] [PATCH 13/17] chardev: add spice support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'spicevmc' and 'spiceport' support to qapi and also switches over the spice chardev initialization to the new qapi code path. --- include/ui/qemu-spice.h |7 +-- qapi-schema.json| 26 +- qemu-char.c | 44 ++

[Qemu-devel] [PATCH 04/17] chardev: add msmouse support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'msmouse' support to qapi and also switches over the msmouse chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- hw/msmouse.c |2 +- hw/msmouse.h |2 +- qapi-schema.json |3 ++- qemu-char.c |5 - 4 files changed, 8 i

[Qemu-devel] [PATCH 11/17] chardev: add console support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'console' support to qapi and also switches over the console chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- qapi-schema.json |3 ++- qemu-char.c |9 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/qapi-sche

[Qemu-devel] [PATCH 16/17] chardev: add udp support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'udb' support to qapi. Signed-off-by: Gerd Hoffmann --- include/qemu/sockets.h |1 + qapi-schema.json | 16 +++- qemu-char.c| 44 ++-- util/qemu-sockets.c| 25 + 4 files ch

[Qemu-devel] [PATCH 12/17] chardev: add pipe support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'pipe' support to qapi and also switches over the pipe chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- qapi-schema.json |3 ++- qemu-char.c | 31 ++- 2 files changed, 24 insertions(+), 10 deletions(-) diff

[Qemu-devel] [PATCH 01/17] chardev: add support for qapi-based chardev initialization

2013-02-27 Thread Gerd Hoffmann
This patch add support for a new way to initialize chardev devices. Instead of calling a initialization function with a QemuOpts we will now create a (qapi) ChardevBackend, optionally call a function to fill ChardevBackend from QemuOpts, then go create the chardev using the new qapi code path which

[Qemu-devel] [PATCH 14/17] chardev: add vc support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'vc' support to qapi and also switches over the vc chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- include/ui/console.h |4 ++-- qapi-schema.json | 20 +++- qemu-char.c | 35 ++

[Qemu-devel] [PATCH 15/17] chardev: add memory (ringbuf) support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'memory' support to qapi and also switches over the memory chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- qapi-schema.json | 14 +- qemu-char.c | 30 +++--- 2 files changed, 36 insertions(+), 8 delet

[Qemu-devel] [PATCH 17/17] Revert "hmp: Disable chardev-add and chardev-remove"

2013-02-27 Thread Gerd Hoffmann
This reverts commit 8a14952c9d2f5fa2b3caa6dc286b62ed5d26bca7. --- hmp-commands.hx | 63 +++ 1 file changed, 31 insertions(+), 32 deletions(-) diff --git a/hmp-commands.hx b/hmp-commands.hx index cef7708..3bd28ac 100644 --- a/hmp-commands.hx ++

[Qemu-devel] [PATCH 07/17] chardev: add stdio support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'stdio' support to qapi and also switches over the stdio chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- qapi-schema.json | 16 +++- qemu-char.c | 26 -- 2 files changed, 35 insertions(+), 7 deletions

[Qemu-devel] [PATCH 08/17] chardev: switch serial/tty init to qapi

2013-02-27 Thread Gerd Hoffmann
This patch switches over the serial chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- qemu-char.c | 37 + 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index 93ed49f..2cb1471 100644

[Qemu-devel] [PATCH 05/17] chardev: add braille support to qapi

2013-02-27 Thread Gerd Hoffmann
This patch adds 'braille' support to qapi and also switches over the braille chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- hw/baum.c|2 +- hw/baum.h|2 +- qapi-schema.json |3 ++- qemu-char.c |9 ++--- 4 files changed,

[Qemu-devel] [PATCH 03/17] chardev: switch null init to qapi

2013-02-27 Thread Gerd Hoffmann
This patch switches over the 'null' chardev initialization to the new qapi code path. Signed-off-by: Gerd Hoffmann --- qemu-char.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qemu-char.c b/qemu-char.c index fc908fa..ec49fb7 100644 --- a/qemu-char.c +++ b/qemu-cha

[Qemu-devel] [PATCH 00/17] chardev: qapi conversion continued

2013-02-27 Thread Gerd Hoffmann
Hi, v2 of this series, with minor fixes in the v2 patches, adding support for the missing chardev types and finally re-enabling the hmp monitor chardev-add chardev-remove commands as qmp is on par with hmp feature-wise now. please review, Gerd Gerd Hoffmann (17): chardev: add support for q

[Qemu-devel] [PATCH 2/2] input: introduce keyboard handler list

2013-02-27 Thread Gerd Hoffmann
Add a linked list of keyboard handlers. Added handlers will go to the head of the list. Removed handlers will be zapped from the list. The head of the list will be used for events. This fixes the keyboard-dead-after-usb-kbd-unplug issue, key events will be re-routed to the ps/2 kbd instead of b

[Qemu-devel] [PATCH 0/2] input: add keyboard handler list

2013-02-27 Thread Gerd Hoffmann
Hi, Little input patch series, first patch being a small cleanup, second patch adds a linked list of keyboard handlers, so removing a handler (on usb kbd unplug) will not make keyboard stop working but fallback to another keyboard (if present). cheers, Gerd Gerd Hoffmann (2): input: make Q

[Qemu-devel] [PATCH 1/2] input: make QEMUPutLEDEntry + QEMUPutMouseEntry private

2013-02-27 Thread Gerd Hoffmann
There is no need for anybody outside ui/input.c to access the struct elements. Move the definitions, leaving only the typedefs in the header files. Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 19 ++- ui/input.c | 18 ++ 2 files changed,

Re: [Qemu-devel] RFC: Primary VGA

2013-02-27 Thread Michael S. Tsirkin
On Wed, Feb 27, 2013 at 02:16:23PM -0700, Alex Williamson wrote: > > When we start adding root ports and bridges to systems we need some > concept of a primary VGA device.The differentiation of the primary > device is that it's the default one that responds to the Legacy VGA > address ranges. PCs

[Qemu-devel] 9pfs: unreadable dirs with random errors in guest

2013-02-27 Thread Michael Tokarev
When I mount a 9pfs filesystem in guest with no write permission for some dirs, I'm getting strange errors in guest. Host (as a regular user): qemu-system-x86_64 -virtfs local,path=/,security_model=mapped-file,mount_tag=tag Guest: # mount -t 9p -o trans=virtio,ro tag /mnt # ls /mnt ls: readi

[Qemu-devel] 9pfs segfaults on chmod(special)

2013-02-27 Thread Michael Tokarev
When guest tries to chmod a block or char device file over 9pfs, the qemu process segfaults. On host: qemu-system-x86_64 -virtfs local,path=/dev,security_model=mapped-file,mount_tag=tag On guest: mount -t 9p -o trans=virtio tag /mnt chmod 0777 /mnt/tty Result (for 1.4.0): Program received s

[Qemu-devel] [PATCH][RFC] vl: move unrelated functions out of vl.c

2013-02-27 Thread liguang
now, lots of other functions which were not related with mainloop exist in vl.c, e.g. numa related functions (numa_add() ...) bt related functions (bt_parse() ...) usb related functions (usb_parse() ...) gui related functions (gui_update()) system power related functions (qemu_shutdown_requested()

Re: [Qemu-devel] [SeaBIOS] RFC: Primary VGA

2013-02-27 Thread Alex Williamson
On Wed, 2013-02-27 at 20:11 -0500, Kevin O'Connor wrote: > On Wed, Feb 27, 2013 at 02:16:23PM -0700, Alex Williamson wrote: > > > > When we start adding root ports and bridges to systems we need some > > concept of a primary VGA device.The differentiation of the primary > > device is that it's the

[Qemu-devel] qemu report

2013-02-27 Thread Frantz, Jacob
Got this message: unknown keycodes `empty_aliases(qwerty)', please report to qemu-devel@nongnu.org I opened Qemu to run an operating system that I'm building for a class, before pressing Ctrl Alt Whatever to exit grab, I pressed alt tab, which displayed that message. Hope this helps Jacob

[Qemu-devel] [RFC PATCH 1/3] target-i386: Add 486sx, old486, and old486sx CPU models

2013-02-27 Thread H. Peter Anvin
From: "H. Peter Anvin" Add models for 486SX, and pre-CPUID versions of the 486 (DX & SX). Change the model number for the standard 486DX to a model which actually had CPUID. Note: these models are fairly vestigial, for example most of the FPU operations still work; only F*ST[CS]W have been modif

[Qemu-devel] [RFC PATCH 3/3] mc146818rtc: export the timezone information

2013-02-27 Thread H. Peter Anvin
From: "H. Peter Anvin" There is no standard method for storing timezone information associated with the classic PC/AT RTC, however, there are standard methods in ACPI (Time and Alarm Device) and EFI (GetTime/SetTime) for getting this information. Since these are abstract methods, it is qreally f

[Qemu-devel] [RFC PATCH 2/3] target-i386: Raise #UD on accessing non-existent control registers

2013-02-27 Thread H. Peter Anvin
From: "H. Peter Anvin" If we touch control registers that don't exist, either read or write, raise the #UD exception (undefined opcode). This is useful for testing booting on old CPUs. CR4 is assumed to exist if and only if there are CPU features other than the FPU defined (typically at least V

Re: [Qemu-devel] [RFC PATCH 6/6] qcow2: Allow lazy refcounts to be enabled on the command line

2013-02-27 Thread Eric Blake
On 02/27/2013 10:25 AM, Kevin Wolf wrote: > qcow2 images now accept a boolean lazy_refcouns options. Use it like s/refcouns/refcounts/ > this: > > -drive file=test.qcow2,lazy_refcounts=on > > If the option is specified on the comman line, it overrides the default s/comman/command/ > specifi

[Qemu-devel] [PATCH] spapr pci: get rid of "busname" property

2013-02-27 Thread Alexey Kardashevskiy
As the sPAPRPHBState struct includes the DeviceState struct which already has an "id" propetry, and this property can be set from the command line, there is no need in an additional "busname" property to specify a bus name. So the bus device "id" property can be used to name a bus. The patch remov

Re: [Qemu-devel] [PATCH V7 11/14] qmp: add interface query-snapshots

2013-02-27 Thread Eric Blake
On 02/27/2013 07:14 PM, Wenchao Xia wrote: > 于 2013-2-28 0:08, Markus Armbruster 写道: >> Wenchao Xia writes: >> >>>This interface now return valid internal snapshots for whole vm. >>>Note that filter use bdrv_can_read_snapshot() instead of >>> bdrv_can_snapshot(), which should be the correc

Re: [Qemu-devel] [PATCH V7 11/14] qmp: add interface query-snapshots

2013-02-27 Thread Wenchao Xia
于 2013-2-28 0:08, Markus Armbruster 写道: > Wenchao Xia writes: > >>This interface now return valid internal snapshots for whole vm. >>Note that filter use bdrv_can_read_snapshot() instead of >> bdrv_can_snapshot(), which should be the correct behavior in information >> retrieving funtion.

Re: [Qemu-devel] [PATCH V7 08/14] qmp: add interface query-images.

2013-02-27 Thread Wenchao Xia
于 2013-2-28 0:00, Markus Armbruster 写道: > Humor me: no period at end of subject, please > OK. > First pass, concentrating on interfaces, implementation mostly ignored. > > Wenchao Xia writes: > >>This mirror function will return all image info including >> snapshots, if specified backing

Re: [Qemu-devel] [PATCH V7 06/14] block: add image info query function bdrv_query_image_info()

2013-02-27 Thread Wenchao Xia
于 2013-2-27 23:30, Markus Armbruster 写道: > Wenchao Xia writes: > >>This patch add function bdrv_query_image_info(), which will return >> image info in qmp object format. The implementation code are based >> on the code moved from qemu-img.c, but use block layer function to get >> snapshot inf

Re: [Qemu-devel] [PATCH V7 05/14] block: add snapshot info query function bdrv_query_snapshot_infolist()

2013-02-27 Thread Wenchao Xia
于 2013-2-27 22:26, Markus Armbruster 写道: > Wenchao Xia writes: > >>This patch add function bdrv_query_snapshot_infolist(), which will > > adds > >> return snapshot info of an image in qmp object format. The implementation >> code are based on the code moved from qemu-img.c with modification

Re: [Qemu-devel] [RFC PATCH 0/6] block: Add driver specific options

2013-02-27 Thread Eric Blake
On 02/27/2013 10:25 AM, Kevin Wolf wrote: > Instead of constantly keeping complaining that we need this big -blockdev > things, let's start attacking individual parts of the project. Here is the > first part, allowing block drivers to provide additional -drive options. So, if I understand the impl

Re: [Qemu-devel] [PATCH V7 02/14] block: add bdrv_can_read_snapshot() function

2013-02-27 Thread Wenchao Xia
于 2013-2-27 21:58, Markus Armbruster 写道: > Wenchao Xia writes: > >>Compared to bdrv_can_snapshot(), this function return whether >> bs* is ready to read snapshot info from instead of write. If yes, >> caller can then query snapshot information, but taking snapshot >> is not always possible fo

Re: [Qemu-devel] [SeaBIOS] RFC: Primary VGA

2013-02-27 Thread Kevin O'Connor
On Wed, Feb 27, 2013 at 02:16:23PM -0700, Alex Williamson wrote: > > When we start adding root ports and bridges to systems we need some > concept of a primary VGA device.The differentiation of the primary > device is that it's the default one that responds to the Legacy VGA > address ranges. PCs

[Qemu-devel] SeaBIOS v1.7.2.1 stable release

2013-02-27 Thread Kevin O'Connor
A new stable release of SeaBIOS (version 1.7.2.1) has been tagged. This release contains bug fixes, including several fixes for build problems. The release is available via git: git clone git://git.seabios.org/seabios -b 1.7.2-stable -Kevin Kevin O'Connor (4): Update tools/acpi_extract.py

Re: [Qemu-devel] q35 machine type and libvirt.

2013-02-27 Thread Anthony Liguori
Alex Williamson writes: > On Wed, 2013-02-27 at 13:20 -0500, Laine Stump wrote: >> On 02/06/2013 02:13 PM, Laine Stump wrote: >> > Now that qemu is getting the q35 machine type, libvirt needs to support it. >> >> In an attempt to make sure that libvirt actually does something useful >> with qemu

[Qemu-devel] [Bug 917824] Re: qemu loops/hangs on extending qcow2-diskspace

2013-02-27 Thread Serge Hallyn
Marking this bug invalid. If you can still reproduce it, please reply to let us know. ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/b

Re: [Qemu-devel] [PATCH 2/3] asn1 ber visitors

2013-02-27 Thread mdroth
On Wed, Feb 27, 2013 at 06:24:45PM -0500, Stefan Berger wrote: > On 02/27/2013 05:57 PM, mdroth wrote: > >On Tue, Feb 26, 2013 at 05:03:56PM -0600, jsch...@linux.vnet.ibm.com wrote: > >>These patches implement asn1 ber visitors for encoding and decoding data. > >>References: <20130226230354.982917.

Re: [Qemu-devel] [PATCH 2/3] asn1 ber visitors

2013-02-27 Thread Stefan Berger
On 02/27/2013 05:57 PM, mdroth wrote: On Tue, Feb 26, 2013 at 05:03:56PM -0600, jsch...@linux.vnet.ibm.com wrote: These patches implement asn1 ber visitors for encoding and decoding data. References: <20130226230354.982917...@linux.vnet.ibm.com> Content-Disposition: inline; filename=asn1_all.dif

Re: [Qemu-devel] [PATCH 1/3] two new file wrappers

2013-02-27 Thread mdroth
On Wed, Feb 27, 2013 at 03:56:27PM -0600, mdroth wrote: > On Wed, Feb 27, 2013 at 08:46:19AM -0500, Stefan Berger wrote: > > On 02/26/2013 09:19 PM, Anthony Liguori wrote: > > >jsch...@linux.vnet.ibm.com writes: > > > > > >I think we've moved away from using qemu-file for anything other than > > >m

Re: [Qemu-devel] [PATCH 2/3] asn1 ber visitors

2013-02-27 Thread mdroth
On Wed, Feb 27, 2013 at 02:03:45PM -0600, Joel Schopp wrote: > Thanks for the feedback. > > On 02/27/2013 02:28 AM, Andreas Färber wrote: > >Am 27.02.2013 00:03, schrieb jsch...@linux.vnet.ibm.com: > >>These patches implement asn1 ber visitors for encoding and decoding data. > > > >Would be good t

[Qemu-devel] [PATCH v4 4/4] Add top level changes for moxie

2013-02-27 Thread Anthony Green
Signed-off-by: Anthony Green --- MAINTAINERS | 5 + arch_init.c | 2 ++ configure | 12 +++- cpu-exec.c| 2 ++ default-configs/moxie-softmmu.mak | 2 ++ qapi-schema.json |

[Qemu-devel] [PATCH v4 1/4] Add moxie target code

2013-02-27 Thread Anthony Green
Signed-off-by: Anthony Green --- target-moxie/Makefile.objs |2 + target-moxie/cpu.c | 177 target-moxie/cpu.h | 222 ++ target-moxie/helper.c | 100 + target-moxie/helper.h |6 + target-moxie/machine.c | 11 + target-moxie/mmu.c

[Qemu-devel] [PATCH v4 3/4] Add sample moxie system

2013-02-27 Thread Anthony Green
Signed-off-by: Anthony Green --- hw/moxie/Makefile.objs | 6 ++ hw/moxie/moxiesim.c| 175 + include/sysemu/arch_init.h | 1 + 3 files changed, 182 insertions(+) create mode 100644 hw/moxie/Makefile.objs create mode 100644 hw/moxie/mox

[Qemu-devel] [PATCH v4 2/4] Add moxie disassembler

2013-02-27 Thread Anthony Green
Signed-off-by: Anthony Green --- disas.c | 6 + disas/Makefile.objs | 1 + disas/moxie.c | 360 include/disas/bfd.h | 66 +- 4 files changed, 401 insertions(+), 32 deletions(-) create mode 100644 disas/moxie.c

[Qemu-devel] [PATCH v4 0/4] Moxie CPU port

2013-02-27 Thread Anthony Green
This version addresses Richard's latest set of comments re: translate.c. http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg05035.html Thanks! AG Anthony Green (4): Add moxie target code Add moxie disassembler Add sample moxie system Add top level changes for moxie MAINTAINERS

Re: [Qemu-devel] [PATCH 1/3] two new file wrappers

2013-02-27 Thread mdroth
On Wed, Feb 27, 2013 at 08:46:19AM -0500, Stefan Berger wrote: > On 02/26/2013 09:19 PM, Anthony Liguori wrote: > >jsch...@linux.vnet.ibm.com writes: > > > >I think we've moved away from using qemu-file for anything other than > >migration. > > Our goal was to use the abstraction of a QEMUFile for

Re: [Qemu-devel] q35 machine type and libvirt.

2013-02-27 Thread Alex Williamson
On Wed, 2013-02-27 at 13:20 -0500, Laine Stump wrote: > On 02/06/2013 02:13 PM, Laine Stump wrote: > > Now that qemu is getting the q35 machine type, libvirt needs to support it. > > In an attempt to make sure that libvirt actually does something useful > with qemu's new machine type, I'm revisiti

Re: [Qemu-devel] [PATCH 01/11] NVMe: Initial commit for NVM Express device

2013-02-27 Thread Keith Busch
On Wed, 27 Feb 2013, Paolo Bonzini wrote: Il 27/02/2013 10:30, Andreas Färber ha scritto: +id->vwc = 1; +snprintf((char *)id->mn, sizeof(id->mn), "QEMU NVMe Ctrl"); +snprintf((char *)id->fr, sizeof(id->fr), "1.0"); +snprintf((char *)id->sn, sizeof(id->sn), "NVMeQx10%02x", n->

[Qemu-devel] RFC: Primary VGA

2013-02-27 Thread Alex Williamson
When we start adding root ports and bridges to systems we need some concept of a primary VGA device.The differentiation of the primary device is that it's the default one that responds to the Legacy VGA address ranges. PCs often have a BIOS selection for this. Seabios already seems to have som

Re: [Qemu-devel] [PATCH moxie 3/5] Moxie target code

2013-02-27 Thread Anthony Green
On Thu, Feb 14, 2013 at 6:19 PM, Richard Henderson wrote: > On 02/13/2013 02:26 PM, Anthony Green wrote: >> +case 0x03: /* jsra */ >> + { >> +/* Load the stack pointer into T0. */ >> +TCGv t1 = new_tmp(); >> +TCGv t2 = new_tmp(); >> + >> +

Re: [Qemu-devel] [ARM] Cortex-R4F and VFP3-D16

2013-02-27 Thread Paul Brook
> > Probably what you'll want is to have a separate feature bit for 32 > > dregs which is set by default for vfpv3, and then use that in > > VFP_DREG rather than the vfpv3 feature bit. > > Right, it might be easier than I though. Maybe add a > ARM_FEATURE_VFP3_D16 and do: > > #define VFP_DREG(reg,

Re: [Qemu-devel] [PATCH] check-qjson: More thorough testing of UTF-8 in strings

2013-02-27 Thread Blue Swirl
On Mon, Feb 4, 2013 at 5:19 PM, Markus Armbruster wrote: > Test cases are scraped from Markus Kuhn's UTF-8 decoder capability and > stress test at > http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt > > Unfortunately, both JSON parser and formatter misbehave right now. > This test expects

Re: [Qemu-devel] [PATCH 2/3] asn1 ber visitors

2013-02-27 Thread Paolo Bonzini
Il 27/02/2013 21:03, Joel Schopp ha scritto: > >>> +ber-nested-y = ber-input-visitor.o ber-output-visitor.o ber-common.o >>> +ber-obj-y = $(addprefix ber/, $(ber-nested-y)) >>> + >>> +common-obj-y += qemu-char.o qemu-file.o $(ber-obj-y) #aio.o >> >> I don't see any justification for that statement

[Qemu-devel] [PATCH] libcacard: use system config directory for nss db on win32

2013-02-27 Thread Marc-André Lureau
It's a bit nicer to look for default database under CSIDL_COMMON_APPDATA\pki\nss rather that /etc/pki/nss. Signed-off-by: Marc-André Lureau --- libcacard/vcard_emul_nss.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/libcacard/vcard_emul_nss.c b/libcacard

Re: [Qemu-devel] [PATCH 2/3] asn1 ber visitors

2013-02-27 Thread Joel Schopp
Thanks for the feedback. On 02/27/2013 02:28 AM, Andreas Färber wrote: Am 27.02.2013 00:03, schrieb jsch...@linux.vnet.ibm.com: These patches implement asn1 ber visitors for encoding and decoding data. Would be good to not be lazy and spell them correctly in at least one of the two lines of t

Re: [Qemu-devel] [PATCH V27 0/7] QEMU Trusted Platform Module (TPM) integration

2013-02-27 Thread Peter Maydell
On 27 February 2013 17:47, Stefan Berger wrote: > From: root > > The following series of patches adds TPM (Trusted Platform Module) support I'm guessing you didn't really mean to cc root@random-IBM-box on this cover letter :-) -- PMM

Re: [Qemu-devel] [PATCH V27 0/7] QEMU Trusted Platform Module (TPM) integration

2013-02-27 Thread Corey Bryant
Everything looks good to me! Thanks for all of your work on this series. I think this is ready to be applied if the maintainers agree. -- Regards, Corey Bryant On 02/27/2013 12:47 PM, Stefan Berger wrote: From: root The following series of patches adds TPM (Trusted Platform Module) support

Re: [Qemu-devel] [PATCH v3 0/5] kvm: Make ioeventfd usable on s390.

2013-02-27 Thread Christian Borntraeger
On 26/02/13 12:18, Michael S. Tsirkin wrote: > virtio_ccw: pass a cookie value to kvm hypercall > > Lookups by channel/vq pair on host during virtio notifications might be > expensive. Interpret hypercall return value as a cookie which host can > use to do device lookups for the next notificatio

[Qemu-devel] [PATCH] tcg-sparc: fix build

2013-02-27 Thread Blue Swirl
Fix build breakage by 803d805bcef4ea7b7d6ef0b4929263e1160d6b3c: make tcg_out_addsub2() always available. Signed-off-by: Blue Swirl --- tcg/sparc/tcg-target.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c index 6d489fc..0

Re: [Qemu-devel] [PATCH] target-i386: Use mulu2 and muls2

2013-02-27 Thread Blue Swirl
Thanks, applied. On Tue, Feb 26, 2013 at 8:06 PM, Richard Henderson wrote: > These correspond very closely to the insns that we're emulating. > > Signed-off-by: Richard Henderson > --- > target-i386/helper.h | 4 -- > target-i386/int_helper.c | 40 > target-i386/translate.c

Re: [Qemu-devel] [PATCH 4/6] Handle CPU interrupts by inline checking of a flag

2013-02-27 Thread Lluís Vilanova
Forget it, I misread patch 6; sorry. Lluis Lluís Vilanova writes: > Peter Maydell writes: > [...] >> diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h >> index c858a73..384153b 100644 >> --- a/include/exec/gen-icount.h >> +++ b/include/exec/gen-icount.h >> @@ -7,10 +7,19 @@

Re: [Qemu-devel] [PATCH 4/6] Handle CPU interrupts by inline checking of a flag

2013-02-27 Thread Lluís Vilanova
Peter Maydell writes: [...] > diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h > index c858a73..384153b 100644 > --- a/include/exec/gen-icount.h > +++ b/include/exec/gen-icount.h > @@ -7,10 +7,19 @@ > static TCGArg *icount_arg; > static int icount_label; > +static int exitreq_

Re: [Qemu-devel] unix sockets for qemu

2013-02-27 Thread clownix
Thank you for everything. > On Tue, Feb 26, 2013 at 05:31:04PM +0100, Stefan Hajnoczi wrote: >> On Mon, Feb 25, 2013 at 07:02:30PM -0600, clow...@clownix.net wrote: >> > The associated file contains a README that will guide you through the >> > experiment that shows the difference between unix soc

Re: [Qemu-devel] q35 machine type and libvirt.

2013-02-27 Thread Laine Stump
On 02/06/2013 02:13 PM, Laine Stump wrote: > Now that qemu is getting the q35 machine type, libvirt needs to support it. In an attempt to make sure that libvirt actually does something useful with qemu's new machine type, I'm revisiting this topic and trying to get a more thorough understanding.

[Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1

2013-02-27 Thread Stefan Mühlbacher
Tryed Mainline-Kernel 3.8 root@wbmain1:~# uname -a Linux wbmain1 3.8.0-030800-generic #201302181935 SMP Tue Feb 19 00:36:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux Same problem... -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. htt

[Qemu-devel] [PATCH V27 7/7] Build TPM passthrough for i386 and x86_64 targets

2013-02-27 Thread Stefan Berger
Build the TPM passthrough driver only for i386 and x86_64 targets using the default-configs files for those targets with softmmu. Signed-off-by: Stefan Berger Reviewed-by: Corey Bryant --- default-configs/i386-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + 2 files changed, 2 ins

[Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-02-27 Thread Stefan Berger
This patch adds support for TPM command line options. The command line options supported here are ./qemu-... -tpmdev passthrough,path=,id= -device tpm-tis,tpmdev=,id= and ./qemu-... -tpmdev help where the latter works similar to -soundhw help and shows a list of available TPM backend

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Paolo Bonzini
Il 27/02/2013 18:38, Anthony Liguori ha scritto: >> > The solution is "there is no way to override a previously specified >> > key". Something like "-device >> > virtio-scsi-pci,num_queues=1,num_queues=2" now works, let's make it an >> > error instead. > That breaks compatibility. The above may s

[Qemu-devel] [PATCH V27 5/7] Add a TPM Passthrough backend driver implementation

2013-02-27 Thread Stefan Berger
>From Andreas Niederl's original posting with adaptations where necessary: This patch is based of off version 9 of Stefan Berger's patch series "QEMU Trusted Platform Module (TPM) integration" and adds a new backend driver for it. This patch adds a passthrough backend driver for passing command

[Qemu-devel] [PATCH V27 2/7] Add TPM (frontend) hardware interface (TPM TIS) to QEMU

2013-02-27 Thread Stefan Berger
This patch adds the main code of the TPM frontend driver, the TPM TIS interface, to QEMU. The code is largely based on the previous implementation for Xen but has been significantly extended to meet the standard's requirements, such as the support for changing of localities and all the functionalit

[Qemu-devel] [PATCH V27 4/7] Build the TPM frontend code

2013-02-27 Thread Stefan Berger
Build the TPM frontend code that has been added so far. Signed-off-by: Stefan Berger Reviewed-by: Corey Bryant --- configure | 11 +++ default-configs/i386-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + tpm/Makefile.objs | 3 +

[Qemu-devel] [PATCH V27 6/7] Add support for cancelling of a TPM command

2013-02-27 Thread Stefan Berger
This patch adds support for cancelling an executing TPM command. In Linux for example a user can cancel a command through the TPM's sysfs 'cancel' entry using echo "1" > /sysfs/class/misc/tpm0/device/cancel This patch propagates the cancellation of a command inside a VM to the host TPM's sysfs en

[Qemu-devel] [PATCH V27 3/7] Add a debug register

2013-02-27 Thread Stefan Berger
This patch uses the possibility to add a vendor-specific register and adds a debug register useful for dumping the TIS's internal state. This register is only active in a debug build (#define DEBUG_TIS). Signed-off-by: Stefan Berger Reviewed-by: Corey Bryant --- tpm/tpm_tis.c | 70 +

[Qemu-devel] [PATCH V27 0/7] QEMU Trusted Platform Module (TPM) integration

2013-02-27 Thread Stefan Berger
From: root The following series of patches adds TPM (Trusted Platform Module) support to QEMU. An emulator for the TIS (TPM Interface Spec) interface is added that provides the basis for accessing a 'backend' implementing the actual TPM functionality. The TIS emulator serves as a 'frontend' enabl

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Anthony Liguori
Paolo Bonzini writes: > Il 27/02/2013 18:08, Anthony Liguori ha scritto: >>> > >>> > No, no, no. This makes ':' special, which means you can't have lists of >>> > anything containing ':'. Your cure is worse than the disease. Let go >>> > of that syntactic high-fructose corn syrup, stick to wha

Re: [Qemu-devel] [libvirt] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Eric Blake
On 02/27/2013 10:04 AM, Anthony Liguori wrote: >> Whatever I use to implement it, I still need to know how the >> command-line syntax will look like, because we need to tell libvirt >> developers how they should write the QEMU command-line. > > Command line syntax is not committed until it appears

Re: [Qemu-devel] [PATCH v5 3/6] add backup related monitor commands

2013-02-27 Thread Dietmar Maurer
> >> +# @devlist: #optional list of block device names (separated by ',', ';' > >> +# or ':'). By default the backup includes all writable block devices. > > > > Make this a proper list, please. > > That is, make it a JSON array: '*devlist' : [ 'str' ] Any time that you pass > a string > through

[Qemu-devel] [RFC PATCH 5/6] block: Support driver specific options in drive_init()

2013-02-27 Thread Kevin Wolf
Any non-default -drive options are now passed down to the block drivers. Signed-off-by: Kevin Wolf --- blockdev.c | 55 +++ 1 file changed, 51 insertions(+), 4 deletions(-) diff --git a/blockdev.c b/blockdev.c index f13f829..d6680a1 100644 ---

[Qemu-devel] [RFC PATCH 6/6] qcow2: Allow lazy refcounts to be enabled on the command line

2013-02-27 Thread Kevin Wolf
qcow2 images now accept a boolean lazy_refcouns options. Use it like this: -drive file=test.qcow2,lazy_refcounts=on If the option is specified on the comman line, it overrides the default specified by the qcow2 header flags that were set when creating the image. Signed-off-by: Kevin Wolf ---

[Qemu-devel] [RFC PATCH 4/6] block: Add options QDict to bdrv_open_common()

2013-02-27 Thread Kevin Wolf
The options are passed down to the block drivers, which are supposed to remove all options they have processed. Anything that is left over in the end is an unknown option and results in an error. Signed-off-by: Kevin Wolf --- block.c | 33 +++-- 1 file changed, 27 ins

[Qemu-devel] [RFC PATCH 0/6] block: Add driver specific options

2013-02-27 Thread Kevin Wolf
Instead of constantly keeping complaining that we need this big -blockdev things, let's start attacking individual parts of the project. Here is the first part, allowing block drivers to provide additional -drive options. Any options that isn't processed by the block layer is passed to the driver

[Qemu-devel] [RFC PATCH 1/6] block: Add options QDict to .bdrv_open()

2013-02-27 Thread Kevin Wolf
Signed-off-by: Kevin Wolf --- block.c | 4 ++-- block/bochs.c | 2 +- block/cloop.c | 2 +- block/cow.c | 2 +- block/dmg.c | 2 +- block/parallels.c | 2 +- block/qcow.c | 2 +- block/qcow2.c |

[Qemu-devel] [RFC PATCH 2/6] block: Add options QDict to bdrv_open() prototype

2013-02-27 Thread Kevin Wolf
It doesn't do anything yet except storing the options QDict in the BlockDriverState. Signed-off-by: Kevin Wolf --- block.c | 38 +- block/blkverify.c | 2 +- block/qcow2.c | 2 +- block/vmdk.c | 2 +- block

[Qemu-devel] [RFC PATCH 3/6] Add qdict_clone_shallow()

2013-02-27 Thread Kevin Wolf
Signed-off-by: Kevin Wolf --- include/qapi/qmp/qdict.h | 2 ++ qobject/qdict.c | 22 ++ 2 files changed, 24 insertions(+) diff --git a/include/qapi/qmp/qdict.h b/include/qapi/qmp/qdict.h index 6d9a4be..685b2e3 100644 --- a/include/qapi/qmp/qdict.h +++ b/include/qapi

Re: [Qemu-devel] [ARM] Cortex-R4F and VFP3-D16

2013-02-27 Thread Fabien Chouteau
On 02/27/2013 05:58 PM, Peter Maydell wrote: > On 27 February 2013 16:37, Fabien Chouteau wrote: >> I'm making my first steps in the ARM world by looking at R4F >> implementation. More specifically I'm trying to add VFP3-D16 support >> which is, as far as I understand, a regular VFP3 with only 16

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Eduardo Habkost
On Wed, Feb 27, 2013 at 11:04:08AM -0600, Anthony Liguori wrote: > Eduardo Habkost writes: > > > On Wed, Feb 27, 2013 at 04:57:15PM +0100, Paolo Bonzini wrote: > >> Il 27/02/2013 16:42, Anthony Liguori ha scritto: > >> > There's such thing as list support in QemuOpts. The only way > >> > QemuOpt

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Paolo Bonzini
Il 27/02/2013 18:08, Anthony Liguori ha scritto: >> > >> > No, no, no. This makes ':' special, which means you can't have lists of >> > anything containing ':'. Your cure is worse than the disease. Let go >> > of that syntactic high-fructose corn syrup, stick to what we have and >> > works just

[Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1

2013-02-27 Thread Dirk Heinrichs
Just tried and plugged in a Smartphone. Results in a BSOD. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1033727 Title: USB passthrough doesn't work anymore with qemu-kvm 1.1.1 Status in QEMU: F

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Anthony Liguori
Markus Armbruster writes: > Anthony Liguori writes: > >> Which is indistinguishable from a straight string property. This means >> it's impossible to introspect because the type is context-sensitive. >> >> What's more, there is no API outside of QemuOptsVisitor that can >> actually work with "l

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Anthony Liguori
Eduardo Habkost writes: > On Wed, Feb 27, 2013 at 04:57:15PM +0100, Paolo Bonzini wrote: >> Il 27/02/2013 16:42, Anthony Liguori ha scritto: >> > There's such thing as list support in QemuOpts. The only way >> > QemuOptsVisitor was able to implement it was to expose QemuOpts publicly >> > via op

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Anthony Liguori
Paolo Bonzini writes: > Il 27/02/2013 16:42, Anthony Liguori ha scritto: >> There's such thing as list support in QemuOpts. The only way >> QemuOptsVisitor was able to implement it was to expose QemuOpts publicly >> via options_int.h and rely on a implementation detail. >> >> There are fixed ty

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Eduardo Habkost
On Wed, Feb 27, 2013 at 05:58:39PM +0100, Paolo Bonzini wrote: > Il 27/02/2013 17:19, Eduardo Habkost ha scritto: > >> > > >> > If it is meant as a prototype only, and the final command-line syntax > >> > would be with repeated keys, that's okay. I think that Eduardo/Markus/I > >> > are focusing

Re: [Qemu-devel] [ARM] Cortex-R4F and VFP3-D16

2013-02-27 Thread Peter Maydell
On 27 February 2013 16:37, Fabien Chouteau wrote: > I'm making my first steps in the ARM world by looking at R4F > implementation. More specifically I'm trying to add VFP3-D16 support > which is, as far as I understand, a regular VFP3 with only 16 D > registers instead of 32. Andreas was looking

Re: [Qemu-devel] [PATCH v2] vl.c: Support multiple CPU ranges on -numa option

2013-02-27 Thread Paolo Bonzini
Il 27/02/2013 17:19, Eduardo Habkost ha scritto: >> > >> > If it is meant as a prototype only, and the final command-line syntax >> > would be with repeated keys, that's okay. I think that Eduardo/Markus/I >> > are focusing on the user interface, you're focusing in the implementation. >> > >> >

Re: [Qemu-devel] [PATCH] net: use socket_set_nodelay() for -netdev socket

2013-02-27 Thread Daniel P. Berrange
On Wed, Feb 27, 2013 at 03:05:47PM +0100, Stefan Hajnoczi wrote: > Reduce -netdev socket latency by disabling the Nagle algorithm on > SOCK_STREAM sockets in net/socket.c. Since we are tunelling Ethernet > over TCP we shouldn't artificially delay outgoing packets, let the guest > decide packet sch

  1   2   3   >