Re: [Qemu-devel] [PATCH RESEND 0/2] PoC: Block replication for continuous checkpointing

2014-12-29 Thread Hongyang Yang
Hi Paolo, Thank you very much for the reply, you certainly get what we are going to do, we are investigating Quorum and NBD, and will give you replies in a few days. Thanks again, Yang. 在 12/27/2014 11:23 PM, Paolo Bonzini 写道: On 26/12/2014 04:31, Yang Hongyang wrote: Please feel free to

[Qemu-devel] [PATCH 09/10] rocker: add tests

2014-12-29 Thread sfeldma
From: Scott Feldman Add some basic test for rocker to test L2/L3/L4 functionality. Requires an external test environment, simp, located here: https://github.com/scottfeldman/simp To run tests, simp environment must be installed and a suitable VM image built and installed with a Linux 3.18 (or

[Qemu-devel] [PATCH 03/10] virtio-net: use qemu_mac_strdup_printf

2014-12-29 Thread sfeldma
From: Scott Feldman Signed-off-by: Scott Feldman --- hw/net/virtio-net.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index e574bd4..9afe669 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -226,12 +226

[Qemu-devel] [PATCH 08/10] qmp: add rocker device support

2014-12-29 Thread sfeldma
From: Scott Feldman Add QMP/HMP support for rocker devices. This is mostly for debugging purposes to see inside the device's tables and port configurations. Some examples: (qemu) rocker sw1 name: sw1 id: 0x013512005452 ports: 4 (qemu) rocker-ports sw1 ena/speed/ auto

[Qemu-devel] [PATCH 01/10] pci: move REDHAT_SDHCI device ID to make room for Rocker

2014-12-29 Thread sfeldma
From: Scott Feldman The rocker device uses same PCI device ID as sdhci. Since rocker device driver has already been accepted into Linux 3.18, and REDHAT_SDHCI device ID isn't used by any drivers, it's safe to move REDHAT_SDHCI device ID, avoiding conflict with rocker. Signed-off-by: Scott Feldm

[Qemu-devel] [PATCH 06/10] pci: add network device class 'other' for network switches

2014-12-29 Thread sfeldma
From: Scott Feldman Rocker is an ethernet switch device, so add 'other' network device class as defined by PCI to cover these types of devices. Signed-off-by: Scott Feldman Signed-off-by: Jiri Pirko --- include/hw/pci/pci_ids.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/hw

[Qemu-devel] [PATCH 04/10] rocker: add register programming guide

2014-12-29 Thread sfeldma
From: Scott Feldman This is the register programming guide for the Rocker device. It's intended for driver writers and device writers. It covers the device's PCI space, the register set, DMA interface, and interrupts. Signed-off-by: Scott Feldman Signed-off-by: Jiri Pirko --- hw/net/rocker/

[Qemu-devel] [PATCH 05/10] pci: add rocker device ID

2014-12-29 Thread sfeldma
From: Scott Feldman Signed-off-by: Scott Feldman Signed-off-by: Jiri Pirko --- docs/specs/pci-ids.txt |1 + include/hw/pci/pci.h |1 + 2 files changed, 2 insertions(+) diff --git a/docs/specs/pci-ids.txt b/docs/specs/pci-ids.txt index c6732fe..e4a4490 100644 --- a/docs/specs/pci-ids

[Qemu-devel] [PATCH 00/10] rocker: add new rocker ethernet switch device

2014-12-29 Thread sfeldma
From: Scott Feldman [This is a collaboration between myself and Jiri Pirko]. This patch set adds a new ethernet switch device, called rocker. Rocker is intended to emulate HW features of switch ASICs found in today's data-center-class switch/routers. The original motivation in creating a new d

[Qemu-devel] [PATCH 10/10] MAINTAINERS: add rocker

2014-12-29 Thread sfeldma
From: Scott Feldman Signed-off-by: Scott Feldman Signed-off-by: Jiri Pirko --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 01cfb05..287b147 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -730,6 +730,12 @@ S: Maintained F: hw/net/vmxn

[Qemu-devel] [PATCH 02/10] net: add MAC address string printer

2014-12-29 Thread sfeldma
From: Scott Feldman We can use this in virtio-net code as well as new Rocker driver code, so up-level this. Signed-off-by: Scott Feldman --- include/net/net.h |1 + net/net.c |7 +++ 2 files changed, 8 insertions(+) diff --git a/include/net/net.h b/include/net/net.h index

[Qemu-devel] [PATCH] Fixes fullscreen aspect ratio and leaving fullscreen mode problem on Mac OS X

2014-12-29 Thread Programmingkid
This patch fixes these problems for QEMU on Mac OS X: - fullscreen mode not having the correct aspect ratio - the inability to leave fullscreen mode signed-off-by: John Arbuckle From 5baa57950e03ed18afbb63b4b500bbde95baad5c Mon Sep 17 00:00:00 2001 From: John Arbuckle Date: Mon, 29 Dec 2014 22:

Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/1] Do not hang on full PTY

2014-12-29 Thread Peter Maydell
On 29 December 2014 at 20:27, Don Slutz wrote: > I was not sure on this being trivial also, but it looked like it could > be to me. The uses of this FD all looked that they handle non-blocking. Does g_io_channel_read_chars() definitely return G_IO_STATUS_NORMAL (and not, say, G_IO_STATUS_AGAIN)

Re: [Qemu-devel] Possible security enhancement for QEMU

2014-12-29 Thread Peter Maydell
On 29 December 2014 at 19:09, Attila-Mihaly Balazs wrote: > My suggestion for improvement would be: > - change the behaviour of "-vnc :port" such that it listens on "127.0.0.1" > when the IP isn't specified > - if host is "0.0.0.0" (perhaps also include any routable IPv4 addresses - > and non-link

[Qemu-devel] Possible security enhancement for QEMU

2014-12-29 Thread Attila-Mihaly Balazs
Dear all, Some enterprising people scanned the whole range of IPv4 addresses for open VNC servers [1] and my casual browsing seems to indicate that a lot of them are QEMU VMs. I suspect that this is because just doing "-vnc :1" will listen on/bind to "0.0.0.0" (ie. on all the interfaces). My sugg

Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/1] Do not hang on full PTY

2014-12-29 Thread Don Slutz
On 12/29/14 04:59, Michael Tokarev wrote: > 22.12.2014 18:04, Don Slutz wrote: > >> --- a/qemu-char.c >> +++ b/qemu-char.c >> @@ -1387,6 +1387,7 @@ static CharDriverState *qemu_chr_open_pty(const char >> *id, >> } >> >> close(slave_fd); >> +qemu_set_nonblock(master_fd); >> >>

Re: [Qemu-devel] [PATCH] nvme: Fix get/set number of queues feature

2014-12-29 Thread Alex Friedman
*ping* https://patchwork.ozlabs.org/patch/418107/ Alex Friedman E8 Storage VP R&D a...@e8storage.com Mobile: +972-54-579-7646 On Fri, Dec 5, 2014 at 5:45 PM, Keith Busch wrote: > On Fri, 5 Dec 2014, a...@e8storage.com wrote: > >> From: Alex Friedman >> >> According to the specification, the l

[Qemu-devel] [PULL 0/2] lm32: milkymist fixes and MAINTAINERS update

2014-12-29 Thread Michael Walle
Hi Peter, please pull these two commits which were posted to the ML some time ago. --- The following changes since commit ab0302ee764fd702465aef6d88612cdff4302809: Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20141223' into staging (2014-12-23 15:05:22 +) are avai

[Qemu-devel] [PULL 2/2] MAINTAINERS: add myself to lm32 and milkymist

2014-12-29 Thread Michael Walle
Add myself to lm32 and milkymist files. Signed-off-by: Michael Walle --- MAINTAINERS | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 01cfb05..7fc3cdb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -98,8 +98,12 @@ LM32 M: Michael Walle S:

[Qemu-devel] [PULL 1/2] milkymist: softmmu: fix event handling

2014-12-29 Thread Michael Walle
Keys which send more than one scancode (esp. windows key) weren't handled correctly since commit 1ff5eedd. Two events were put into the input event queue but only one was processed. This fixes this by fetching all pending events in the callback handler. Signed-off-by: Michael Walle Cc: Gerd Hoffm

[Qemu-devel] PPC: E500 [PATCH v2 ]: Add FSL i2c controller and integrate RTC with it.

2014-12-29 Thread Amit Tomar
Changes since v1: * Move it to GPL v2+ * Replace the printf with DPRINTF * Fix the coding style issues * Change the subject line This patch adds an emulation model for i2c controller found on most of the FSL SoCs. It also integrates the RTC that sits on the i2c Bus with e500 mac

Re: [Qemu-devel] [Qemu-trivial] [PATCH 1/1] Do not hang on full PTY

2014-12-29 Thread Michael Tokarev
22.12.2014 18:04, Don Slutz wrote: > --- a/qemu-char.c > +++ b/qemu-char.c > @@ -1387,6 +1387,7 @@ static CharDriverState *qemu_chr_open_pty(const char > *id, > } > > close(slave_fd); > +qemu_set_nonblock(master_fd); > > chr = qemu_chr_alloc(); Hm. I'm not sure at all th

Re: [Qemu-devel] [Bug 1405385] Re: QEMU crashes when virtio network cards are used together with e1000 network cards

2014-12-29 Thread Peter Maydell
On 29 December 2014 at 08:29, Bram Klein Gunnewiek <1405...@bugs.launchpad.net> wrote: > Right before QEMU crashes I get this error in gdb: > > Program received signal SIGUSR1, User defined signal 1. SIGUSR1 is used internally by QEMU. You can tell gdb not to bother you about it: handle SIGUSR1

Re: [Qemu-devel] [PATCH] net: Add persistent flag to -net tap option

2014-12-29 Thread Roy Vardi
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Tuesday, December 23, 2014 11:13 AM > To: Roy Vardi > Cc: qemu-devel@nongnu.org; stefa...@redhat.com; Noam Camus; > arm...@redhat.com; aligu...@amazon.com; lcapitul...@redhat.com > Subject: Re: [Qemu-deve

Re: [Qemu-devel] [PATCH 0/2] s390: fix clang warnings

2014-12-29 Thread Stefan Weil
Am 23.12.2014 um 23:18 schrieb Peter Maydell: > These two patches fix warnings generated by clang; I'm hoping we can > clear up the handful of remaining clang warnings so I can turn on > warnings-as-errors for my builds I do before applying pullreqs, and > then we can keep the clang builds warning-

[Qemu-devel] [Bug 1405385] Re: QEMU crashes when virtio network cards are used together with e1000 network cards

2014-12-29 Thread Bram Klein Gunnewiek
I have a hard time getting a full backtrace. I recompiled qemu with --enable-debug. Running QEMU with -s -S and then using GDB with debug using: attach remote localhost:1234 works but when QEMU has crashed the command "bt full" always gives back: (gdb) bt full No stack. I then ran QEMU directly f