Re: [Qemu-devel] [PATCH 3/3] deal with guest panicked event

2012-06-11 Thread Wen Congyang
At 05/31/2012 03:23 AM, Luiz Capitulino Wrote: > On Mon, 21 May 2012 14:50:51 +0800 > Wen Congyang wrote: > >> When the guest is panicked, it will write 0x1 to the port 0x505. So if >> qemu reads 0x1 from this port, we can do the folloing three things >> according to the parameter -onpanic: >> 1.

Re: [Qemu-devel] USB hardware simulation in external process

2012-06-11 Thread Gerd Hoffmann
On 06/11/12 16:48, Daniel Mack wrote: > Hey, > > I'm thinking about adding a USB hardware proxy that allows communication > with an external server process which in turn simulates USB devices. It's already there. Have a look at usbredir. http://hansdegoede.livejournal.com/11006.html usbredir a

Re: [Qemu-devel] [PATCH] kvm: notify host when guest panicked

2012-06-11 Thread Wen Congyang
Hi, Avi Do you have any comment to this patch? Thanks Wen Congyang At 05/21/2012 02:46 PM, Wen Congyang Wrote: > We can know the guest is panicked when the guest runs on xen. > But we do not have such feature on kvm. > > Another purpose of this feature is: management app(for example: > libvirt)

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

2012-06-11 Thread Stefan Hajnoczi
On Mon, Jun 11, 2012 at 6:20 PM, Lluís Vilanova wrote: > Lluís Vilanova writes: > >> Stefan Hajnoczi writes: >>> On Tue, May 8, 2012 at 3:38 PM, Lluís Vilanova wrote: Signed-off-by: Lluís Vilanova ---  monitor.c |   15 ---  1 file changed, 12 insertions(+), 3 dele

Re: [Qemu-devel] Semantics of DeviceState::realized and BlockDriverState

2012-06-11 Thread Paolo Bonzini
Il 12/06/2012 00:05, Anthony Liguori ha scritto: > > opened = true > attached = true > > This means that the device is in-use by something in QEMU. Requests may > be in flight as read/write requests are now allowed to be issued. > > Most properties cannot be changed in this state (presumably).

Re: [Qemu-devel] [Bug 1011142] [NEW] Arm emulation do a crash

2012-06-11 Thread Wei-Ren Chen
> > I don't know why, with kvm it say: > > KVM not supported for this target > > No accelerator found! > > Unless you're running on ARM with a patched kernel you can't get KVM for > ARM guests. That's no error. Linux/ARM starts to support kvm? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer S

Re: [Qemu-devel] QEMU translation flags

2012-06-11 Thread Wei-Ren Chen
On Sat, Jun 09, 2012 at 05:44:55AM -0400, Xin Tong wrote: > In QEMU x86, TB translation flags are set up when the TB is allocated. > what will happen if the translation flags are modified by one > instruction in the translation block ? will the translation block be > terminated right there. Can

[Qemu-devel] USB hardware simulation in external process

2012-06-11 Thread Daniel Mack
Hey, I'm thinking about adding a USB hardware proxy that allows communication with an external server process which in turn simulates USB devices. I'm new to the internals of QEMU, so what I'm sharing here might already have been discussed a gazillion times. In that case, just drop me some pointe

Re: [Qemu-devel] [RFC] QOMification of AXI streams

2012-06-11 Thread Benjamin Herrenschmidt
On Tue, 2012-06-12 at 03:04 +0200, Andreas Färber wrote: > That's not quite the way we're modelling it yet as shown by Avi above, > there is no CPU address space, only a "system" address space. That can be considered as roughly equivalent for now, though it might become problematic when modelling

Re: [Qemu-devel] [RFC] QOMification of AXI streams

2012-06-11 Thread Benjamin Herrenschmidt
On Mon, 2012-06-11 at 20:33 -0500, Anthony Liguori wrote: > On 06/11/2012 06:46 PM, Benjamin Herrenschmidt wrote: > > On Mon, 2012-06-11 at 17:29 -0500, Anthony Liguori wrote: > > > >> When we add a subregion, it always removes the offset from the address > >> when it > >> dispatches. This more o

Re: [Qemu-devel] [RFC] QOMification of AXI streams

2012-06-11 Thread Anthony Liguori
On 06/11/2012 06:46 PM, Benjamin Herrenschmidt wrote: On Mon, 2012-06-11 at 17:29 -0500, Anthony Liguori wrote: When we add a subregion, it always removes the offset from the address when it dispatches. This more often than not works out well but for what you're describing above, it sounds lik

Re: [Qemu-devel] Semantics of DeviceState::realized and BlockDriverState

2012-06-11 Thread Anthony Liguori
On 06/11/2012 07:29 PM, Andreas Färber wrote: Am 12.06.2012 00:05, schrieb Anthony Liguori: I think I'm becoming convinced that realized belongs in DeviceState and that BlockDriverState does not have a realized equivalent. To me, realized represents Vcc. When realized=true, the guest has pow

[Qemu-devel] [PATCH v6 2/2] net: add the support for -netdev socket, listen

2012-06-11 Thread zwu . kernel
From: Zhi Yong Wu The -net socket,listen option does not work with the newer -netdev syntax: http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01508.html This patch makes it work now. For the case where one vlan has multiple listenning sockets, the patch will also provide the support. S

[Qemu-devel] [PATCH v6 1/2] net: fix the coding style

2012-06-11 Thread zwu . kernel
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- net/socket.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/net/socket.c b/net/socket.c index fcd0a3c..7194345 100644 --- a/net/socket.c +++ b/net/socket.c @@ -301,7 +301,9 @@ static NetSocketState *net_socket_fd_init

Re: [Qemu-devel] [RFC] QOMification of AXI streams

2012-06-11 Thread Andreas Färber
Am 12.06.2012 00:00, schrieb Benjamin Herrenschmidt: >>> system_memory >>>alias -> pci >>>alias -> ram >>> pci >>>bar1 >>>bar2 >>> pcibm >>>alias -> pci (prio 1) >>>alias -> system_memory (prio 0) >>> >>> cpu_physical_memory_rw() woul

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Zhi Yong Wu
On Tue, Jun 12, 2012 at 4:05 AM, Luiz Capitulino wrote: > On Mon, 11 Jun 2012 22:15:55 +0800 > Zhi Yong Wu wrote: > >> On Mon, Jun 11, 2012 at 2:28 PM, Paolo Bonzini wrote: >> > Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: >> > This commit looks suspicious because it removes a user-visible q

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Zhi Yong Wu
On Mon, Jun 11, 2012 at 10:42 PM, Stefan Hajnoczi wrote: > On Mon, Jun 11, 2012 at 3:24 PM, Zhi Yong Wu wrote: >> On Mon, Jun 11, 2012 at 4:57 PM, Stefan Hajnoczi >> wrote: >>> On Mon, Jun 11, 2012 at 08:28:57AM +0200, Paolo Bonzini wrote: Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: >

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Peter Crosthwaite
> > Hi, > > IIRC the word array thing is device specific, not really AXI stream. > I think the whole connection to AXI is a bit unfortunate, Yes, so I think we can summaries the confusion here with AXI stream is completely unreleated to AXI. The connection between the two comes with the way low le

Re: [Qemu-devel] Semantics of DeviceState::realized and BlockDriverState

2012-06-11 Thread Andreas Färber
Am 12.06.2012 00:05, schrieb Anthony Liguori: > I think I'm becoming convinced that realized belongs in DeviceState and > that BlockDriverState does not have a realized equivalent. > To me, realized represents Vcc. When realized=true, the guest has power > and is active. When realized=false, the

Re: [Qemu-devel] [PATCH qom-next 1/7] qdev: Push state up to Object

2012-06-11 Thread Andreas Färber
Am 11.06.2012 23:48, schrieb Anthony Liguori: > On 06/11/2012 04:31 PM, Andreas Färber wrote: >> Am 11.06.2012 15:21, schrieb Anthony Liguori: >>> On 06/11/2012 03:25 AM, Kevin Wolf wrote: Am 10.06.2012 19:38, schrieb Andreas Färber: > Am 10.06.2012 17:49, schrieb Paolo Bonzini: >> Il

[Qemu-devel] buildbot failure in qemu on default_x86_64_debian_6_0

2012-06-11 Thread qemu
The Buildbot has detected a new failure on builder default_x86_64_debian_6_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_x86_64_debian_6_0/builds/302 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

Re: [Qemu-devel] [RFC] QOMification of AXI streams

2012-06-11 Thread Benjamin Herrenschmidt
On Mon, 2012-06-11 at 17:29 -0500, Anthony Liguori wrote: > I don't know that we really have bit masking done right in the memory API. That's not a big deal: > When we add a subregion, it always removes the offset from the address when > it > dispatches. This more often than not works out wel

Re: [Qemu-devel] [RFC] QOMification of AXI streams

2012-06-11 Thread Anthony Liguori
On 06/11/2012 05:00 PM, Benjamin Herrenschmidt wrote: system_memory alias -> pci alias -> ram pci bar1 bar2 pcibm alias -> pci (prio 1) alias -> system_memory (prio 0) cpu_physical_memory_rw() would be implemented as memory_

[Qemu-devel] [Bug 989060] Re: https://sourceforge.net/projects/kvm/files/ says use 0.14

2012-06-11 Thread Stefan Lasiewski
Fixed. The page at https://sourceforge.net/projects/kvm/files/ now refers to a modern version. That page now says: > Looking for the latest version? Download qemu-kvm-1.1-rc4.tar.gz (6.6 MB) ** Changed in: qemu Status: New => Fix Released -- You received this bug notification becaus

[Qemu-devel] Semantics of DeviceState::realized and BlockDriverState

2012-06-11 Thread Anthony Liguori
Hi, I wanted to start a central thread as this discussion is spread in two places right now. I think I'm becoming convinced that realized belongs in DeviceState and that BlockDriverState does not have a realized equivalent. To me, realized represents Vcc. When realized=true, the guest has

Re: [Qemu-devel] [RFC] QOMification of AXI streams

2012-06-11 Thread Benjamin Herrenschmidt
> > system_memory > >alias -> pci > >alias -> ram > > pci > >bar1 > >bar2 > > pcibm > >alias -> pci (prio 1) > >alias -> system_memory (prio 0) > > > > cpu_physical_memory_rw() would be implemented as > > memory_region_rw(system_memor

Re: [Qemu-devel] [PATCH qom-next 1/7] qdev: Push state up to Object

2012-06-11 Thread Anthony Liguori
On 06/11/2012 04:31 PM, Andreas Färber wrote: Am 11.06.2012 15:21, schrieb Anthony Liguori: On 06/11/2012 03:25 AM, Kevin Wolf wrote: Am 10.06.2012 19:38, schrieb Andreas Färber: Am 10.06.2012 17:49, schrieb Paolo Bonzini: Il 08/06/2012 03:19, Anthony Liguori ha scritto: +typedef enum Objec

Re: [Qemu-devel] [PATCH qom-next 1/7] qdev: Push state up to Object

2012-06-11 Thread Andreas Färber
Am 11.06.2012 23:31, schrieb Andreas Färber: > Am 11.06.2012 15:21, schrieb Anthony Liguori: >> On 06/11/2012 03:25 AM, Kevin Wolf wrote: >>> Am 10.06.2012 19:38, schrieb Andreas Färber: Am 10.06.2012 17:49, schrieb Paolo Bonzini: > Il 08/06/2012 03:19, Anthony Liguori ha scritto: >>>

Re: [Qemu-devel] [PATCH qom-next 1/7] qdev: Push state up to Object

2012-06-11 Thread Andreas Färber
Am 11.06.2012 15:21, schrieb Anthony Liguori: > On 06/11/2012 03:25 AM, Kevin Wolf wrote: >> Am 10.06.2012 19:38, schrieb Andreas Färber: >>> Am 10.06.2012 17:49, schrieb Paolo Bonzini: Il 08/06/2012 03:19, Anthony Liguori ha scritto: >> >> +typedef enum ObjectState { >> +OBJEC

[Qemu-devel] [PULL fixed] rtl8139,pci,msi

2012-06-11 Thread Michael S. Tsirkin
The following changes since commit 8cc9b43f7c5f826b39af4b012ad89bb55faac29c: target-microblaze: lwx/swx: first implementation (2012-06-04 10:19:46 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_anthony for you to fetch changes up t

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Anthony Liguori
On 06/11/2012 01:28 AM, Paolo Bonzini wrote: Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: This commit looks suspicious because it removes a user-visible qdev property but we're trying to preserve backward compatibility. This command-line will break: x86_64-softmmu/qemu-system-x86_64 -net user,

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Luiz Capitulino
On Mon, 11 Jun 2012 22:15:55 +0800 Zhi Yong Wu wrote: > On Mon, Jun 11, 2012 at 2:28 PM, Paolo Bonzini wrote: > > Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: > > This commit looks suspicious because it removes a user-visible qdev > > property but we're trying to preserve backward compat

[Qemu-devel] [PULL] Several fixes for QEMU

2012-06-11 Thread Stefan Weil
Hello Anthony, please pull these four patches. All were reviewed, ack'ed or signed on qemu-devel. Thanks, Stefan Weil The following changes since commit 7677e24f3db8466c7d6014a794b1e425bc7929ba: Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2012-06-11 12:15:52 -0500)

Re: [Qemu-devel] [PULL] rtl8139,pci,msi

2012-06-11 Thread Michael S. Tsirkin
On Mon, Jun 11, 2012 at 07:22:53PM +0200, Jan Kiszka wrote: > On 2012-06-11 19:16, Anthony Liguori wrote: > > On 06/07/2012 11:38 AM, Michael S. Tsirkin wrote: > >> The following changes since commit > >> 8cc9b43f7c5f826b39af4b012ad89bb55faac29c: > >> > >>target-microblaze: lwx/swx: first impl

Re: [Qemu-devel] [PULL] iov* function rework (one more time)

2012-06-11 Thread Michael Tokarev
On 11.06.2012 22:31, Anthony Liguori wrote: [] > Doesn't build: > > LINK qemu-ga > cutils.o: In function `qemu_iovec_to_buf': > /home/anthony/git/qemu/cutils.c:226: undefined reference to `iov_to_buf' Indeed. I'm sorry for this. Just a makefile issue, I'm not really sure which of the various

Re: [Qemu-devel] [RFC] Proposal: PCI/PCIe: inbound BAR0 emulation for PCI controller (Root Complex)

2012-06-11 Thread Scott Wood
On 06/11/2012 12:05 AM, Bhushan Bharat-R65777 wrote: >>> 2. Hook up this inbound BAR0 in the above patch-set to translate >>> to mmio-regs. As this would be controller specific, a callback >>> will be registered for translation. Now it will be upto the >>> controller specific code on how it transla

Re: [Qemu-devel] CoW image commit+shrink(= make_empty) support

2012-06-11 Thread Paolo Bonzini
Il 11/06/2012 17:37, Jeff Cody ha scritto: > It sounds like Zhi Hui is working on live block commit patches, and > Supriya is working on the bdrv_reopen() portion - I don't want to > duplicate any effort, but if there is anything I can do to help with > either of those areas, just let me know. Is

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Anthony Liguori
On 06/11/2012 12:31 PM, Avi Kivity wrote: On 06/11/2012 06:01 PM, Anthony Liguori wrote: On 06/11/2012 08:39 AM, Peter Maydell wrote: On 11 June 2012 14:15, Anthony Liguori wrote: From what you said earlier, it's basically: 'write data to this address' 'read data from this address' An i

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Anthony Liguori
On 06/11/2012 12:31 PM, Avi Kivity wrote: On 06/11/2012 06:01 PM, Anthony Liguori wrote: On 06/11/2012 08:39 AM, Peter Maydell wrote: On 11 June 2012 14:15, Anthony Liguori wrote: From what you said earlier, it's basically: 'write data to this address' 'read data from this address' An i

Re: [Qemu-devel] [PULL] iov* function rework (one more time)

2012-06-11 Thread Anthony Liguori
On 06/07/2012 12:53 PM, Michael Tokarev wrote: The following changes since commit 083dbf489d1b0592e910ecfb90b3858c23e49ab7: target-microblaze: fix swx build breakage (2012-06-07 10:12:00 +0200) are available in the git repository at: git://git.corpit.ru/qemu.git mjt-iov for you to fetch

Re: [Qemu-devel] [PULL] qemu/xendisk fix

2012-06-11 Thread Anthony Liguori
On 06/11/2012 05:14 AM, Stefano Stabellini wrote: Hi Anthony, please pull one fix for xen_disk from here: git://xenbits.xen.org/people/sstabellini/qemu-dm.git for_1.1.1 The fix should be applied to the 1.1.x stable tree too. Pulled. Thanks. Regards, Anthony Liguori Jan Beulich (1):

Re: [Qemu-devel] [PULL 0/3] Trivial patches for May 2 to June 8 2012

2012-06-11 Thread Anthony Liguori
On 06/08/2012 05:02 AM, Stefan Hajnoczi wrote: Now that the tree is open, let's get trivial patches moving! Only a couple so far... The following changes since commit 083dbf489d1b0592e910ecfb90b3858c23e49ab7: target-microblaze: fix swx build breakage (2012-06-07 10:12:00 +0200) are availa

Re: [Qemu-devel] [PULL] kvm updates

2012-06-11 Thread Anthony Liguori
On 06/11/2012 08:38 AM, Avi Kivity wrote: Please pull from: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master to fix a bug in kvm PIT time synchronization and a bug in kvm apic reset. Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PULL] qom-next queue, first batch: fixed-width visitors

2012-06-11 Thread Anthony Liguori
On 06/08/2012 10:35 AM, Andreas Färber wrote: Hello Anthony, To get moving with the merge of qom-next into qemu.git, now that the Makefile PULL is in, please pull a first small batch, grouping patches directly related to fixed-width visitors. Outlook: A second batch would include the QBus refa

Re: [Qemu-devel] [PULL] qemu/xendisk fix

2012-06-11 Thread Anthony Liguori
On 06/11/2012 05:14 AM, Stefano Stabellini wrote: Hi Anthony, please pull one fix for xen_disk from here: git://xenbits.xen.org/people/sstabellini/qemu-dm.git for_1.1.1 The fix should be applied to the 1.1.x stable tree too. Pulled. Thanks. Regards, Anthony Liguori Jan Beulich (1):

Re: [Qemu-devel] [PULL] QOM CPUState, part 3a: cleanups & preparations

2012-06-11 Thread Anthony Liguori
On 06/10/2012 07:00 PM, Andreas Färber wrote: Hello Anthony/Blue, Please pull the next batch of QOM CPUState refactorings, largely cherry-picked from qom-next queue. The first seven patches clean up some ARM naming issues introduced by part 3. The rest prepare ARM, Xen and target-s390 for movi

Re: [Qemu-devel] [PULL 00/37] usb patch queue

2012-06-11 Thread Anthony Liguori
On 06/07/2012 04:30 AM, Gerd Hoffmann wrote: Hi, Here are a bunch of usb patches. There are four groups in there which are independant and have been posted as separate series for review ~ two weeks ago: (1) uhci: various little fixes and improvements. (2) usb-storage: live migration s

Re: [Qemu-devel] [PATCH v2 3/3] Add rate limiting of RTC_CHANGE, BALLOON_CHANGE & WATCHDOG events

2012-06-11 Thread Luiz Capitulino
On Fri, 8 Jun 2012 17:48:56 +0100 "Daniel P. Berrange" wrote: > On Wed, May 30, 2012 at 03:50:37PM -0300, Luiz Capitulino wrote: > > On Mon, 21 May 2012 17:59:53 +0100 > > "Daniel P. Berrange" wrote: > > > > +/* Global, one-time initializer to configure the rate limiting > > > + * and initializ

Re: [Qemu-devel] [PULL] rtl8139,pci,msi

2012-06-11 Thread Michael S. Tsirkin
On Mon, Jun 11, 2012 at 12:16:09PM -0500, Anthony Liguori wrote: > On 06/07/2012 11:38 AM, Michael S. Tsirkin wrote: > >The following changes since commit 8cc9b43f7c5f826b39af4b012ad89bb55faac29c: > > > > target-microblaze: lwx/swx: first implementation (2012-06-04 10:19:46 > > +0200) > > > >are

Re: [Qemu-devel] [PULL] qom-next queue, first batch: fixed-width visitors

2012-06-11 Thread Luiz Capitulino
On Fri, 8 Jun 2012 17:35:05 +0200 Andreas Färber wrote: > Hello Anthony, > > To get moving with the merge of qom-next into qemu.git, now that the Makefile > PULL is in, please pull a first small batch, grouping patches directly related > to fixed-width visitors. FWIW, the fixed-width visitors

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Avi Kivity
On 06/11/2012 06:01 PM, Anthony Liguori wrote: > On 06/11/2012 08:39 AM, Peter Maydell wrote: >> On 11 June 2012 14:15, Anthony Liguori wrote: >>> From what you said earlier, it's basically: >>> >>> 'write data to this address' >>> 'read data from this address' >>> >>> An interface that implement

Re: [Qemu-devel] [PATCH v2 5/6] qapi: generate list struct and visit_list for enum

2012-06-11 Thread Luiz Capitulino
On Thu, 07 Jun 2012 10:52:46 +0800 Amos Kong wrote: > On 07/06/12 08:26, Michael Roth wrote: > > On Wed, Jun 06, 2012 at 03:40:37PM -0300, Luiz Capitulino wrote: > >> On Sat, 2 Jun 2012 06:54:27 +0800 > >> Amos Kong wrote: > >> > >>> Currently, if define an 'enum' and use it in one command's da

Re: [Qemu-devel] [PULL] rtl8139,pci,msi

2012-06-11 Thread Jan Kiszka
On 2012-06-11 19:16, Anthony Liguori wrote: > On 06/07/2012 11:38 AM, Michael S. Tsirkin wrote: >> The following changes since commit 8cc9b43f7c5f826b39af4b012ad89bb55faac29c: >> >>target-microblaze: lwx/swx: first implementation (2012-06-04 10:19:46 >> +0200) >> >> are available in the git re

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

2012-06-11 Thread Lluís Vilanova
Lluís Vilanova writes: > Stefan Hajnoczi writes: >> On Tue, May 8, 2012 at 3:38 PM, Lluís Vilanova wrote: >>> 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 89

Re: [Qemu-devel] [PULL] rtl8139,pci,msi

2012-06-11 Thread Anthony Liguori
On 06/07/2012 11:38 AM, Michael S. Tsirkin wrote: The following changes since commit 8cc9b43f7c5f826b39af4b012ad89bb55faac29c: target-microblaze: lwx/swx: first implementation (2012-06-04 10:19:46 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qe

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Edgar E. Iglesias
On Mon, Jun 11, 2012 at 10:03:56AM -0500, Anthony Liguori wrote: > On 06/11/2012 09:53 AM, Peter Maydell wrote: > >On 11 June 2012 15:38, Edgar E. Iglesias wrote: > >>On Mon, Jun 11, 2012 at 02:39:56PM +0100, Peter Maydell wrote: > >>>Ideally the interface used by DMA controllers should be identic

Re: [Qemu-devel] CoW image commit+shrink(= make_empty) support

2012-06-11 Thread Jeff Cody
On 06/11/2012 10:24 AM, Stefan Hajnoczi wrote: > On Mon, Jun 11, 2012 at 1:50 PM, Kevin Wolf wrote: >> Am 11.06.2012 14:09, schrieb Stefan Hajnoczi: >>> On Fri, Jun 8, 2012 at 6:46 PM, Jeff Cody wrote: On 06/08/2012 12:11 PM, Kevin Wolf wrote: > Am 08.06.2012 16:32, schrieb Jeff Cody: >>

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Peter Maydell
On 11 June 2012 16:03, Anthony Liguori wrote: > On 06/11/2012 09:53 AM, Peter Maydell wrote: >> In hardware (at least for AXI) they're the same thing. A DMA >> controller is a bus master, just like a CPU. They don't care >> whether the slave is RAM or a device, they're just issuing >> memory trans

[Qemu-devel] [RFC PATCH 2/3] block: GlusterFS helpers to interface with libglusterfs

2012-06-11 Thread Bharata B Rao
block: GlusterFS helpers to interface with libglusterfs From: Bharata B Rao This patch does two things: - Adds GlusterFS specific init routines that enable QEMU to load volume file and load necessary translators. - Implements routines like gluster_open(), gluster_read(), gluster_write() and

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Anthony Liguori
On 06/11/2012 09:53 AM, Peter Maydell wrote: On 11 June 2012 15:38, Edgar E. Iglesias wrote: On Mon, Jun 11, 2012 at 02:39:56PM +0100, Peter Maydell wrote: Ideally the interface used by DMA controllers should be identical to the interface used by CPUs to talk to the rest of the system: it's ex

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Anthony Liguori
On 06/11/2012 08:39 AM, Peter Maydell wrote: On 11 June 2012 14:15, Anthony Liguori wrote: From what you said earlier, it's basically: 'write data to this address' 'read data from this address' An interface that implements this is DMAContext. Forget about the fact that 'DMA' is in the name.

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Edgar E. Iglesias
On Mon, Jun 11, 2012 at 03:53:23PM +0100, Peter Maydell wrote: > On 11 June 2012 15:38, Edgar E. Iglesias wrote: > > On Mon, Jun 11, 2012 at 02:39:56PM +0100, Peter Maydell wrote: > >> Ideally the interface used by DMA controllers should be identical to > >> the interface used by CPUs to talk to t

Re: [Qemu-devel] [PATCH v2 2/3] Simpletrace v2: Add support for multiple args, strings.

2012-06-11 Thread Stefan Hajnoczi
On Mon, Jun 11, 2012 at 1:31 PM, Harsh Bora wrote: > On 06/07/2012 08:02 PM, Stefan Hajnoczi wrote: >> >> On Thu, May 24, 2012 at 10:50 AM, Harsh Prateek Bora >>  wrote: >>> @@ -75,16 +96,22 @@ static char *trace_file_name = NULL; >>>  * >>>  * Returns false if the record is not valid. >>>  */ >>

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Peter Maydell
On 11 June 2012 15:38, Edgar E. Iglesias wrote: > On Mon, Jun 11, 2012 at 02:39:56PM +0100, Peter Maydell wrote: >> Ideally the interface used by DMA controllers should be identical to >> the interface used by CPUs to talk to the rest of the system: it's >> exactly the same bus interface in hardwa

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Stefan Hajnoczi
On Mon, Jun 11, 2012 at 3:24 PM, Zhi Yong Wu wrote: > On Mon, Jun 11, 2012 at 4:57 PM, Stefan Hajnoczi > wrote: >> On Mon, Jun 11, 2012 at 08:28:57AM +0200, Paolo Bonzini wrote: >>> Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: >>> This commit looks suspicious because it removes a user-visibl

Re: [Qemu-devel] [PATCH qom-next 1/7] qdev: Push state up to Object

2012-06-11 Thread Kevin Wolf
Am 11.06.2012 15:21, schrieb Anthony Liguori: > On 06/11/2012 03:25 AM, Kevin Wolf wrote: >> Am 10.06.2012 19:38, schrieb Andreas Färber: >>> Am 10.06.2012 17:49, schrieb Paolo Bonzini: Il 08/06/2012 03:19, Anthony Liguori ha scritto: >> >> +typedef enum ObjectState { >> +OBJEC

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Edgar E. Iglesias
On Mon, Jun 11, 2012 at 02:39:56PM +0100, Peter Maydell wrote: > On 11 June 2012 14:15, Anthony Liguori wrote: > > From what you said earlier, it's basically: > > > > 'write data to this address' > > 'read data from this address' > > > > An interface that implements this is DMAContext.  Forget abo

[Qemu-devel] [RFC PATCH 3/3] block: gluster as block backend

2012-06-11 Thread Bharata B Rao
block: gluster as block backend From: Bharata B Rao This patch adds gluster as the new block backend in QEMU. This gives QEMU the ability to boot VM images from gluster volumes. Signed-off-by: Bharata B Rao --- Makefile.objs |2 block/gluster.c | 435 +

[Qemu-devel] [RFC PATCH 0/3] GlusterFS support in QEMU

2012-06-11 Thread Bharata B Rao
Hi, This set of patches enables QEMU to boot VM images from gluster volumes. This is achieved by adding gluster as a new block backend driver in QEMU. Its already possible to boot from VM images on gluster volumes using Fuse mount, but this patchset provides the ability to boot VM images from glus

[Qemu-devel] [RFC PATCH 1/3] qemu: Add a config option for GlusterFS as block backend

2012-06-11 Thread Bharata B Rao
qemu: Add a config option for GlusterFS as block backend From: Bharata B Rao Signed-off-by: Bharata B Rao --- configure | 36 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/configure b/configure index b55a792..dc89592 100755 --- a/confi

Re: [Qemu-devel] [PATCH v2] vnc: disable VNC password authentication (security type 2) when in FIPS mode

2012-06-11 Thread Roman Drahtmueller
I was "beached", sorry for the late reply. On Thu, 7 Jun 2012, Alexander Graf wrote: > On 07.06.2012, at 05:10, Anthony Liguori wrote: > > On 06/07/2012 06:56 AM, Paul Moore wrote: > >> On Wednesday, June 06, 2012 01:56:52 AM Alexander Graf wrote: > >>> The other one (FIPS) is basically a list o

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

2012-06-11 Thread Stefan Hajnoczi
On Mon, Jun 11, 2012 at 2:52 PM, Lluís Vilanova wrote: > Stefan Hajnoczi writes: > >> On Mon, Jun 11, 2012 at 12:12 PM, Lluís Vilanova wrote: >>> Stefan Hajnoczi writes: >>> On Tue, May 8, 2012 at 3:38 PM, Lluís Vilanova wrote: > Provides a generic event state description and a more det

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Zhi Yong Wu
On Mon, Jun 11, 2012 at 4:57 PM, Stefan Hajnoczi wrote: > On Mon, Jun 11, 2012 at 08:28:57AM +0200, Paolo Bonzini wrote: >> Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: >> This commit looks suspicious because it removes a user-visible qdev >> property but we're trying to preserve backwar

Re: [Qemu-devel] CoW image commit+shrink(= make_empty) support

2012-06-11 Thread Stefan Hajnoczi
On Mon, Jun 11, 2012 at 1:50 PM, Kevin Wolf wrote: > Am 11.06.2012 14:09, schrieb Stefan Hajnoczi: >> On Fri, Jun 8, 2012 at 6:46 PM, Jeff Cody wrote: >>> On 06/08/2012 12:11 PM, Kevin Wolf wrote: Am 08.06.2012 16:32, schrieb Jeff Cody: > On 06/08/2012 09:53 AM, Stefan Hajnoczi wrote: >>

Re: [Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-11 Thread Zhi Yong Wu
On Mon, Jun 11, 2012 at 2:28 PM, Paolo Bonzini wrote: > Il 09/06/2012 05:04, Zhi Yong Wu ha scritto: > This commit looks suspicious because it removes a user-visible qdev > property but we're trying to preserve backward compatibility.  This > command-line will break: > > x86_64

[Qemu-devel] Live Migration of a large guest : guest frozen on the destination host

2012-06-11 Thread Chegu Vinod
Hello, 'am having some issues trying to live migrate a large guest and would like to get some pointers on how to go about about debugging this. Here is some info. on the configuration _Hardware :_ Two DL980's each with 80 Westmere cores + 1 TB of RAM. Using a 10G NIC private link (back to

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

2012-06-11 Thread Lluís Vilanova
Stefan Hajnoczi writes: > On Mon, Jun 11, 2012 at 12:12 PM, Lluís Vilanova wrote: >> Stefan Hajnoczi writes: >> >>> On Tue, May 8, 2012 at 3:38 PM, Lluís Vilanova wrote: Provides a generic event state description and a more detailed event control and query interface.

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Paolo Bonzini
Il 11/06/2012 15:17, Anthony Liguori ha scritto: >> >> I think AXI counts as a point-to-point link, so no bus. >> >> In my prop-ptr branch you can find some code (untested beyond >> compilation) >> that tried to model AXI using interfaces >> (git://github.com/pbonzini/qemu.git). > > s/pbonzin

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Peter Maydell
On 11 June 2012 14:15, Anthony Liguori wrote: > From what you said earlier, it's basically: > > 'write data to this address' > 'read data from this address' > > An interface that implements this is DMAContext.  Forget about the fact that > 'DMA' is in the name.  It's really the symmetric version o

[Qemu-devel] [PULL] kvm updates

2012-06-11 Thread Avi Kivity
Please pull from: git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git uq/master to fix a bug in kvm PIT time synchronization and a bug in kvm apic reset. Jan Kiszka (1): kvm: i8254: Fix conversion of in-kernel to userspace s

Re: [Qemu-devel] [PATCH 01/17] qidl: add QEMU IDL processor

2012-06-11 Thread Peter Maydell
On 11 June 2012 14:12, Anthony Liguori wrote: > I really don't see the overwhelming need to keep structures private.  Being > able to directly reference public members is extremely handy. It keeps people honest. Last time I looked at your pin series it had some changes which were using private in

Re: [Qemu-devel] [PATCH v2 1/1] virtio-rng: hardware random number generator device

2012-06-11 Thread Daniel P. Berrange
On Tue, Jun 05, 2012 at 03:46:31PM +0530, Amit Shah wrote: > On (Tue) 05 Jun 2012 [17:54:30], Anthony Liguori wrote: > > On 06/05/2012 05:41 PM, Amit Shah wrote: > > >On (Mon) 04 Jun 2012 [19:04:41], Anthony Liguori wrote: > > >>On 05/26/2012 04:20 AM, Amit Shah wrote: > > >>>On (Fri) 25 May 2012 [

Re: [Qemu-devel] [PATCH qom-next 1/7] qdev: Push state up to Object

2012-06-11 Thread Anthony Liguori
On 06/11/2012 03:25 AM, Kevin Wolf wrote: Am 10.06.2012 19:38, schrieb Andreas Färber: Am 10.06.2012 17:49, schrieb Paolo Bonzini: Il 08/06/2012 03:19, Anthony Liguori ha scritto: +typedef enum ObjectState { +OBJECT_STATE_INITIALIZED = 1, +OBJECT_STATE_REALIZED, +} ObjectState; I th

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Anthony Liguori
On 06/11/2012 12:54 AM, Paolo Bonzini wrote: Ive had a brief look at the refactorings on qom-next, I notice that busses are now just children of the parent object TYPE_BUS. Essentially for point-to-point links this means that link itself has a QOM object. So for finer clarification, for new busse

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Anthony Liguori
On 06/08/2012 08:24 PM, Peter Crosthwaite wrote: On Sat, Jun 9, 2012 at 12:15 AM, Anthony Liguori wrote: On 06/08/2012 12:23 PM, Peter Crosthwaite wrote: Hi all, Im looking to QOMifying and refactoring the AXI stream interfaces between the AXI ethernet and AXI DMA modules. I could use some g

Re: [Qemu-devel] [PATCH 01/17] qidl: add QEMU IDL processor

2012-06-11 Thread Anthony Liguori
On 06/11/2012 02:20 AM, Paolo Bonzini wrote: Il 11/06/2012 09:13, Andreas Färber ha scritto: +The first step is to move your device struct definition to a header file. This +header file should only contain the struct definition and any preprocessor +declarations you need to define the structure

Re: [Qemu-devel] [PATCH 5/6] fdc: use LOG_UNIMP logging

2012-06-11 Thread Kevin Wolf
Am 09.06.2012 14:12, schrieb Blue Swirl: > Convert uses of FLOPPY_ERROR to either FLOPPY_DPRINTF > (for implemented cases) or to use LOG_UNIMP (unimplemented). > > Signed-off-by: Blue Swirl Acked-by: Kevin Wolf

Re: [Qemu-devel] [PATCH 01/17] qidl: add QEMU IDL processor

2012-06-11 Thread Peter Maydell
On 11 June 2012 08:13, Andreas Färber wrote: > Am 05.06.2012 12:00, schrieb Peter Maydell: >> I don't think this is a fantastic idea -- the device struct should be >> private to the device, and having it in a standalone header file is >> asking for users of the device to illicitly include it and a

Re: [Qemu-devel] [RFC] QOMification of AXI stream

2012-06-11 Thread Peter Maydell
On 11 June 2012 06:54, Paolo Bonzini wrote: > I think AXI counts as a point-to-point link, so no bus. Depends what you mean by AXI. In general an AXI bus fabric can have multiple masters and slaves connected via an interconnect, but we probably don't actually want to model the interconnect as a s

Re: [Qemu-devel] [PATCH 3/4] atapi: implement READ DISC INFORMATION

2012-06-11 Thread Paolo Bonzini
Il 11/06/2012 14:44, Kevin Wolf ha scritto: >> > @@ -1048,6 +1078,7 @@ static const struct { >> > [ 0x5a ] = { cmd_mode_sense, /* (10) */ 0 }, >> > [ 0xa8 ] = { cmd_read, /* (12) */ CHECK_READY }, >> > [ 0xad ] = { cmd_read_dvd_structure,CHECK_READY

Re: [Qemu-devel] CoW image commit+shrink(= make_empty) support

2012-06-11 Thread Kevin Wolf
Am 11.06.2012 14:09, schrieb Stefan Hajnoczi: > On Fri, Jun 8, 2012 at 6:46 PM, Jeff Cody wrote: >> On 06/08/2012 12:11 PM, Kevin Wolf wrote: >>> Am 08.06.2012 16:32, schrieb Jeff Cody: On 06/08/2012 09:53 AM, Stefan Hajnoczi wrote: > On Fri, Jun 8, 2012 at 2:19 PM, Jeff Cody wrote:

Re: [Qemu-devel] [PATCH 3/4] atapi: implement READ DISC INFORMATION

2012-06-11 Thread Kevin Wolf
Am 11.06.2012 07:24, schrieb Paolo Bonzini: > This command is not necessary for CD-ROM and DVD-ROM, but some versions of > udev trip on its absence. > > Cc: Kevin Wolf > Cc: Markus Armbruster > Signed-off-by: Paolo Bonzini > --- > Kevin, ok to merge these ATAPI changes via the SCSI tree

Re: [Qemu-devel] [RFC] Proposal: PCI/PCIe: inbound BAR0 emulation for PCI controller (Root Complex)

2012-06-11 Thread Bhushan Bharat-R65777
> -Original Message- > From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org] > Sent: Friday, June 08, 2012 4:32 PM > To: Bhushan Bharat-R65777 > Cc: qemu-devel@nongnu.org; Wood Scott-B07421; Yoder Stuart-B08248 > Subject: Re: [RFC] Proposal: PCI/PCIe: inbound BAR0 emulation for P

Re: [Qemu-devel] [PATCH v2 2/3] Simpletrace v2: Add support for multiple args, strings.

2012-06-11 Thread Harsh Bora
On 06/07/2012 08:02 PM, Stefan Hajnoczi wrote: On Thu, May 24, 2012 at 10:50 AM, Harsh Prateek Bora wrote: A newer tracelog format which gets rid of fixed size trace records and therefore allows to trace multiple arguments as well as strings in trace events. Sample trace: v9fs_version 0.000 t

Re: [Qemu-devel] [PATCH for-1.1] libqtest: Fix socket_accept() to pass address_len

2012-06-11 Thread Andreas Färber
Am 28.05.2012 00:53, schrieb Andreas Färber: > accept() expects address_len to point to the length of the sockaddr on > input. Initialize it accordingly. > > Resolves an assertion due to EFAULT on illumos. > > Signed-off-by: Andreas Färber Ping? Verifiable by looking at the Linux man page. /-F

Re: [Qemu-devel] [PATCH 1.1] monitor: Fix memory leak with readline completion

2012-06-11 Thread Stefan Hajnoczi
On Mon, May 14, 2012 at 8:47 PM, Stefan Weil wrote: > Each string which is shown during readline completion in the QEMU monitor > is allocated dynamically but currently never deallocated. > > Add the missing loop which calls g_free for the allocated strings. > > Signed-off-by: Stefan Weil > --- >

Re: [Qemu-devel] CoW image commit+shrink(= make_empty) support

2012-06-11 Thread Stefan Hajnoczi
On Fri, Jun 8, 2012 at 6:46 PM, Jeff Cody wrote: > On 06/08/2012 12:11 PM, Kevin Wolf wrote: >> Am 08.06.2012 16:32, schrieb Jeff Cody: >>> On 06/08/2012 09:53 AM, Stefan Hajnoczi wrote: On Fri, Jun 8, 2012 at 2:19 PM, Jeff Cody wrote: > On 06/08/2012 08:42 AM, Stefan Hajnoczi wrote: >>>

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

2012-06-11 Thread Stefan Hajnoczi
On Mon, Jun 11, 2012 at 12:12 PM, Lluís Vilanova wrote: > Stefan Hajnoczi writes: > >> On Tue, May 8, 2012 at 3:38 PM, Lluís Vilanova wrote: >>> Provides a generic event state description and a more detailed event >>> control and >>> query interface. >>> >>> Signed-off-by: Lluís Vilanova >>> --

Re: [Qemu-devel] [PATCH] KVM: i8254: Clean up limit constant

2012-06-11 Thread Avi Kivity
On 06/11/2012 01:29 PM, Jan Kiszka wrote: > On 2012-06-11 12:07, Avi Kivity wrote: >> On 06/06/2012 05:28 PM, Jan Kiszka wrote: >>> Due to a offset between the clock used to generate the in-kernel >>> count_load_time (CLOCK_MONOTONIC) and the clock used for processing this >>> in userspace (vm_cloc

[Qemu-devel] [Bug 1011142] Re: Arm emulation do a crash

2012-06-11 Thread BRULE Herman
Hello, I have succefull run debian raspberry pi under qemu. Then I try do like under my x86, mount -t proc none proc,..., chroot /mnt/gentoo /bin/bash, ... -> illegal instruction. Then I try with boot directly from the gentoo's part -> lot of illegal instruction, I have used like say on the web:

  1   2   >