Re: [Qemu-devel] Re: PS2 Mouse/Kbd do not work with qemu-0.13.0

2010-11-16 Thread Michael Tokarev
17.11.2010 04:57, Adhyas Avasthi wrote: > I am trying to use it on my custom build of open source EFI BIOS > (which does not use interrupts, and uses only polling) and this does > not work. Also, PS2 Mouse does not work for Ubuntu 10.10. x86_64 guest > for me. > Oh, and the same BIOS (and its drive

[Qemu-devel] OpenSource-Management of private Clouds and Virtualisation

2010-11-16 Thread acue
Hello, I want to announce the current version of the UnifiedSessionsManager. An OpenSource-Toolset providing a neatless interface for the vendor independent use and administration of virtual and physical systems. Private-Clouds - the "Intranet"! A particular emphasis is on the QEMU/KVM support

[Qemu-devel] OpenSource-Management of private Clouds and Virtualisation

2010-11-16 Thread acue
Hello, I want to announce the current version of the UnifiedSessionsManager. An OpenSource-Toolset providing a neatless interface for the vendor independent use and administration of virtual and physical systems. Private-Clouds - the "Intranet"! The license is GPL3+FDL-1.3+CCL-3.0. http://w

[Qemu-devel] Re: [PATCH v9 8/8] x3130/downstream: support aer.

2010-11-16 Thread Etienne Martineau
On Wed, 17 Nov 2010, Isaku Yamahata wrote: > > Because of such it seems like the only way to maintain consistency between > > the assigned device and it's corresponding driver is to perform the error > > detection/recovery phase in lockstep with the host? > > Maybe. At least at the first imple

[Qemu-devel] [PATCH 5/7] pci: make use of qdev reset frame work to pci bus reset.

2010-11-16 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata Signed-off-by: Anthony Liguori --- hw/pci.c | 38 ++ hw/pci.h |3 +++ 2 files changed, 37 insertions(+), 4 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 962886e..b6f58de 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -43,12

[Qemu-devel] [PATCH 3/7] qdev: introduce reset call back for qbus level

2010-11-16 Thread Isaku Yamahata
and make it called via qbus_reset_all(). The qbus reset callback will be used by pci bus reset. Signed-off-by: Isaku Yamahata Signed-off-by: Anthony Liguori --- hw/qdev.c | 10 +- hw/qdev.h |2 ++ 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.

[Qemu-devel] [PATCH 2/7] qdev: reset qdev along with qdev tree

2010-11-16 Thread Isaku Yamahata
From: Anthony Liguori This patch changes the reset handling so that qdev has no knowledge of the global system reset. Instead, a new bus/device level function is introduced that allows all devices/buses on the bus/device to be reset using a depth first transversal. N.B. we have to expose the im

[Qemu-devel] [PATCH 4/7] qdev: introduce a helper function which triggers reset from a given device

2010-11-16 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata Signed-off-by: Anthony Liguori --- hw/qdev.c |5 + hw/qdev.h |1 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index b76da07..b65b63e 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -322,6 +322,11 @@ static int qbus_res

[Qemu-devel] [PATCH 7/7] pci bridge: implement secondary bus reset

2010-11-16 Thread Isaku Yamahata
Emulates secondary bus reset when secondary bus reset bit is written from 0 to 1. Signed-off-by: Isaku Yamahata Signed-off-by: Anthony Liguori --- hw/pci_bridge.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/hw/pci_bridge.c b/hw/pci_bridge.c index 58cc2e4

[Qemu-devel] [PATCH 1/7] qbus: add functions to walk both devices and busses

2010-11-16 Thread Isaku Yamahata
From: Anthony Liguori There are some cases where you want to walk the busses, in particular, when searching for a bus either by name or DeviceInfo. Paolo suggested that we model the return values on how GCC's walkers work which allows an actor to skip child transversal, or terminate walking with

[Qemu-devel] [PATCH 6/7] pci: teach pci devices that have reset callback how to reset common registers

2010-11-16 Thread Isaku Yamahata
Each pci devices should know the behavior on reset. So make each reset functions call pci default reset function. Signed-off-by: Isaku Yamahata Signed-off-by: Anthony Liguori --- hw/e1000.c |1 + hw/lsi53c895a.c |2 ++ hw/pci.c|8 +--- hw/pcnet.c |1 + hw/r

[Qemu-devel] [PATCH 0/7] qdev reset refactoring and pci bus reset

2010-11-16 Thread Isaku Yamahata
The goal of this patch series is to implement secondary bus reset emulation in pci-to-pci bridge. At first, this patch series refactors qdev reset, and then cleans up pci bus reset. Lastly implements pci bridge control secondary bus reset bit. This patch series is for pci bus reset, which is porte

[Qemu-devel] Re: [PATCH v9 2/8] pci: fix accesses to pci status register

2010-11-16 Thread Isaku Yamahata
On Tue, Nov 16, 2010 at 12:52:31PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 16, 2010 at 05:26:06PM +0900, Isaku Yamahata wrote: > > pci status register is 16 bit, not 8 bit. > > So use helper function to manipulate status register. > > > > Signed-off-by: Isaku Yamahata > > At least the sub

[Qemu-devel] Re: [PATCH v9 8/8] x3130/downstream: support aer.

2010-11-16 Thread Isaku Yamahata
On Tue, Nov 16, 2010 at 10:57:59AM -0800, Etienne Martineau wrote: > > On Tue, 2010-11-16 at 17:26 +0900, Isaku Yamahata wrote: > > add aer support. > > > > Signed-off-by: Isaku Yamahata > > I'm actually working on a scheme to provide support to handle PCI > errors related to assigned devices.

Re: [Qemu-devel] [PATCH v2 1/2] rtl8139: add vlan tag insertion

2010-11-16 Thread Benjamin Poirier
On 16/11/10 03:06 PM, Anthony Liguori wrote: > On 11/08/2010 07:46 PM, Benjamin Poirier wrote: >> Add support to the emulated hardware to add vlan tags in packets going >> from the guest to the network. >> >> Signed-off-by: Benjamin Poirier >> Cc: Igor V. Kovalenko >> --- >> Changes since v1: >> *

[Qemu-devel] Re: [PATCH v9 1/8] pci: revise pci command register initialization

2010-11-16 Thread Isaku Yamahata
On Tue, Nov 16, 2010 at 12:50:19PM +0200, Michael S. Tsirkin wrote: > On Tue, Nov 16, 2010 at 05:26:05PM +0900, Isaku Yamahata wrote: > > This patch cleans up command register initialization with > > comments. It also fixes the initialization of io/memory bit of command > > register. > > Those bit

[Qemu-devel] Re: PS2 Mouse/Kbd do not work with qemu-0.13.0

2010-11-16 Thread Adhyas Avasthi
I am trying to use it on my custom build of open source EFI BIOS (which does not use interrupts, and uses only polling) and this does not work. Also, PS2 Mouse does not work for Ubuntu 10.10. x86_64 guest for me. Oh, and the same BIOS (and its driver) work just fine for 0.12.5 and 0.12.3, but does

[Qemu-devel] Re: SMM jmp weirdness

2010-11-16 Thread Stefan Reinauer
On Thu, Nov 11, 2010 at 4:53 PM, Stefan Reinauer wrote: > Hi, > > I'm looking at the following piece of code running under QEMU > >   0x38000:     66 bd 90 f8 27 3f       mov    $0x3f27f890,%ebp ; > target address for jmp >    0x38006:     66 2e 2b 2e f8 fe       sub    %cs:0xfef8,%ebp    ; > subt

[Qemu-devel] [Bug 676190] Re: Latest git fails to link - missing main() routine

2010-11-16 Thread Nigel Horne
On 11/16/2010 04:14 PM, Stefan Hajnoczi wrote: > On Tue, Nov 16, 2010 at 6:37 PM, Nigel Horne<676...@bugs.launchpad.net> > wrote: > >> Public bug reported: >> >> I can't get git 2834c3e0140c3b0ed4422909dfa0607b7213d95d to link on my >> Debian Linux/x86_64 machine with gcc4.4: >> > Peter

[Qemu-devel] [PATCH 08/10] ahci: add ahci emulation

2010-11-16 Thread Alexander Graf
This patch adds an emulation layer for an ICH-7M AHCI controller. For now this controller does not do IDE legacy emulation. It is a pure AHCI controller. Signed-off-by: Alexander Graf --- Makefile.objs |1 + Makefile.target|4 + default-configs/i3

[Qemu-devel] [PATCH 09/10] ahci: add -drive support

2010-11-16 Thread Alexander Graf
We need to be able to spawn new AHCI drives, so let's add AHCI support to the -drive option. Signed-off-by: Alexander Graf --- blockdev.c|6 +- blockdev.h|1 + qemu-common.h |2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/blockdev.c b/blockdev.c inde

[Qemu-devel] [PATCH 01/10] ide: split ide command interpretation off

2010-11-16 Thread Alexander Graf
The ATA command interpretation code can be used for PATA and SATA interfaces alike. So let's split it out into a separate function. Signed-off-by: Alexander Graf --- hw/ide/core.c | 20 ++-- hw/ide/internal.h |2 ++ 2 files changed, 16 insertions(+), 6 deletions(-) dif

[Qemu-devel] [PATCH 02/10] ide: fix whitespace gap in ide_exec_cmd

2010-11-16 Thread Alexander Graf
Now that we have the function split out, we have to reindent it. In order to increase the readability of the actual functional change, this is split out. Signed-off-by: Alexander Graf --- hw/ide/core.c | 734 1 files changed, 367 insertio

[Qemu-devel] [PATCH 00/10] AHCI emulation support

2010-11-16 Thread Alexander Graf
This patch adds support for AHCI emulation. I have tested and verified it works in Linux, OpenBSD, Windows Vista and Windows 7. This AHCI emulation supports NCQ, so multiple read or write requests can be outstanding at the same time. The code is however not fully optimized yet. I'm fairly sure tha

Re: [Qemu-devel] PS2 Mouse/Kbd do not work with qemu-0.13.0

2010-11-16 Thread Brian Wheeler
On Tue, 2010-11-16 at 13:52 -0800, Adhyas Avasthi wrote: > I have issues with both PS2 Mouse and Keyboard working out of the box > with virgin qemu-0.13.0 code base. The host is Ubuntu 10.04 x86_64 and > I am making a 64-bit build for x86_64-softmmu > > Sometimes (for some guest environments, e.g.

[Qemu-devel] [PATCH 06/10] pci: add storage class for sata

2010-11-16 Thread Alexander Graf
This patch adds the storage sata class id. Signed-off-by: Alexander Graf --- hw/pci_ids.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/pci_ids.h b/hw/pci_ids.h index 82cba7e..ea3418c 100644 --- a/hw/pci_ids.h +++ b/hw/pci_ids.h @@ -15,6 +15,7 @@ #define PCI_CLAS

[Qemu-devel] [PATCH 03/10] ide: add support for ide extenders

2010-11-16 Thread Alexander Graf
From: Roland Elek An "extender" (from the "extends" keyword denoting a subclass in various object-oriented languages) is a device that builds upon an IDE bus, but needs to change various aspects of its inner workings to customize it to its needs. An example of an extender is an AHCI HBA. We add s

[Qemu-devel] [PATCH 05/10] ide: add ncq identify data for ahci sata drives

2010-11-16 Thread Alexander Graf
From: Roland Elek I modified ide_identify() to include the zero-based queue length value in word 75, and set bit 8 in word 76 to signal NCQ support in the identify data for AHCI SATA drives. Signed-off-by: Roland Elek --- hw/ide/core.c |7 +++ hw/ide/internal.h |2 ++ 2 files c

[Qemu-devel] [PATCH 04/10] ide: enable preallocated sg lists

2010-11-16 Thread Alexander Graf
The AHCI core does all the SG handling for us, so we need to allow it to keep its own layouts. This patch adds hooks into the IDE code to allow for preallocated SG lists. Signed-off-by: Roland Elek Signed-off-by: Alexander Graf --- hw/ide/core.c | 38 +++--

[Qemu-devel] [PATCH 10/10] ahci: spawn controller on demand

2010-11-16 Thread Alexander Graf
When we add a device using -drive to the guest, we also need to create a new SATA bus to handle the device. This patch does it the same way SCSI does it today. Signed-off-by: Alexander Graf --- hw/pc.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/hw/pc.c b/hw/pc.c

[Qemu-devel] [PATCH 07/10] pci: add ich7 pci id

2010-11-16 Thread Alexander Graf
We need a PCI ID for our new AHCI adapter. I just picked an ICH-7M because that's the one built into the first Macbooks. This patch adds a PCI ID define for an ICH-7M AHCI adapter. Signed-off-by: Alexander Graf --- hw/pci.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [Qemu-devel] [RFC][PATCH v3 07/21] virtproxy: add read handler for communication channel

2010-11-16 Thread Anthony Liguori
On 11/15/2010 07:16 PM, Michael Roth wrote: Handle data coming in over the channel as VPPackets: Process control messages and forward data from remote client/server connections to the appropriate server/client FD on our end. We also provide here a helper function to process a stream of packets fr

Re: [Qemu-devel] [RFC][PATCH v3 00/21] virtproxy: host/guest communication layer

2010-11-16 Thread Michael Roth
On 11/16/2010 04:28 PM, Michael Roth wrote: Wow, good catches. I'd simplified the examples with v2 and failed to correct some of the typos I introduced then when sending out v3. Your intuition is correct on most of these: On 11/16/2010 03:57 PM, Stefan Hajnoczi wrote: Is virtconsole just a way

Re: [Qemu-devel] [PATCH] Force object directory use

2010-11-16 Thread Peter Maydell
On 16 November 2010 21:59, Blue Swirl wrote: > If the user attempts to run 'configure' in the source tree, > create an object directory and configure that instead. > > Rename topmost Makefile to Makefile.top. Add a new Makefile, which > is only used when user attempts to run 'make' in the source t

Re: [Qemu-devel] [PATCH] block: Remove unused s->hd in various drivers

2010-11-16 Thread Christoph Hellwig
On Tue, Nov 16, 2010 at 06:56:49PM +0100, Kevin Wolf wrote: > All drivers use bs->file instead of s->hd fpr quite a while now, so it's time > to remove s->hd. Looks good.

Re: [Qemu-devel] [RFC][PATCH v3 00/21] virtproxy: host/guest communication layer

2010-11-16 Thread Michael Roth
Wow, good catches. I'd simplified the examples with v2 and failed to correct some of the typos I introduced then when sending out v3. Your intuition is correct on most of these: On 11/16/2010 03:57 PM, Stefan Hajnoczi wrote: On Tue, Nov 16, 2010 at 1:15 AM, Michael Roth wrote: Some basic ques

Re: [Qemu-devel] [PATCH] pc: Fix e820 fw_cfg for big endian

2010-11-16 Thread Anthony Liguori
On 11/07/2010 09:57 PM, Alex Williamson wrote: Signed-off-by: Alex Williamson Applied. Thanks. Regards, Anthony Liguori --- Compile tested only. Only current user is kvm, no cross-arch users. hw/pc.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff -

Re: [Qemu-devel] [PATCH] Add missing braces

2010-11-16 Thread Anthony Liguori
On 11/11/2010 09:10 AM, jes.soren...@redhat.com wrote: From: Jes Sorensen This patch adds missing braces around if/else statements that call macros which are likely to result in errors if the macro is changed. It also makes the code comply better with CODING_STYLE. Signed-off-by: Jes Sorensen

Re: [Qemu-devel] [PATCH] Fix compilation failure with simple trace when srcdir==objdir

2010-11-16 Thread Anthony Liguori
On 11/16/2010 02:07 PM, Peter Maydell wrote: Fix a makefile error that meant that qemu would not compile if the source and object directories were the same. Signed-off-by: Peter Maydell Applied. Thanks. Regards, Anthony Liguori --- Makefile.target | 11 +-- 1 files changed

Re: [Qemu-devel] [PATCH 1/3] usb-linux: Store devpath into USBHostDevice when usb_fs_type == USB_FS_SYS

2010-11-16 Thread Anthony Liguori
On 11/10/2010 03:06 AM, Hans de Goede wrote: This allows us to recreate the sysfspath used during scanning later (which will be used in a later patch in this series). Applied all three. Thanks. Regards, Anthony Liguori --- usb-linux.c | 26 +++--- 1 files change

Re: [Qemu-devel] [PATCH] Out off array access in usb-net

2010-11-16 Thread Anthony Liguori
On 11/09/2010 01:36 AM, Gleb Natapov wrote: Properly check array bounds before accessing array element. Signed-off-by: Gleb Natapov Applied. Thanks. Regards, Anthony Liguori diff --git a/hw/usb-net.c b/hw/usb-net.c index 70f9263..84e2d79 100644 --- a/hw/usb-net.c +++ b/hw/usb-net.c @@

Re: [Qemu-devel] [PATCH v2 RESEND] pc: e820 qemu_cfg tables need to be packed

2010-11-16 Thread Anthony Liguori
On 11/05/2010 04:40 PM, Alex Williamson wrote: We can't let the compiler define the alignment for qemu_cfg data. Signed-off-by: Alex Williamson Applied. Thanks. Regards, Anthony Liguori --- hw/pc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pc.c

Re: [Qemu-devel] [PATCH] Delete IOHandlers after potentially running them

2010-11-16 Thread Anthony Liguori
On 11/03/2010 09:29 AM, Stefan Hajnoczi wrote: Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read() handler that deletes its IOHandler is exposed to .fd_write() being called on the deleted IOHandler. This patch fixes deletion so that .fd_read() and .fd_write() are never called on

Re: [Qemu-devel] [PATCH] Force object directory use

2010-11-16 Thread Anthony Liguori
On 11/16/2010 03:59 PM, Blue Swirl wrote: If the user attempts to run 'configure' in the source tree, create an object directory and configure that instead. Rename topmost Makefile to Makefile.top. Add a new Makefile, which is only used when user attempts to run 'make' in the source tree. Signe

Re: [Qemu-devel] [PATCH 0/3] spice: misc bugfixes

2010-11-16 Thread Anthony Liguori
On 11/09/2010 07:40 AM, Gerd Hoffmann wrote: On 11/02/10 12:56, Gerd Hoffmann wrote: Hi, This patch series brings a few bugfixes for spice. please pull, Gerd The following changes since commit 7d72e76228351d18a856f1e4f5365b59d3205dc3: intel-hda: documentation update (2010-11-02 0

[Qemu-devel] [PATCH] Force object directory use

2010-11-16 Thread Blue Swirl
If the user attempts to run 'configure' in the source tree, create an object directory and configure that instead. Rename topmost Makefile to Makefile.top. Add a new Makefile, which is only used when user attempts to run 'make' in the source tree. Signed-off-by: Blue Swirl --- Makefile | 3

Re: [Qemu-devel] [RFC][PATCH v3 00/21] virtproxy: host/guest communication layer

2010-11-16 Thread Stefan Hajnoczi
On Tue, Nov 16, 2010 at 1:15 AM, Michael Roth wrote: Some basic questions from someone who has never used virtio-serial: > EXAMPLE USAGE: > > note: oforward/iforward chardev options have not yet been converted over from > original standalone host daemon implementation so this won't work till the

[Qemu-devel] PS2 Mouse/Kbd do not work with qemu-0.13.0

2010-11-16 Thread Adhyas Avasthi
I have issues with both PS2 Mouse and Keyboard working out of the box with virgin qemu-0.13.0 code base. The host is Ubuntu 10.04 x86_64 and I am making a 64-bit build for x86_64-softmmu Sometimes (for some guest environments, e.g. Ubuntu 10.10. x86_64) the mouse does not work within the guest, wh

[Qemu-devel] Re: [PATCH v2 1/9] pci: pci_default_cap_write_config ignores wmask

2010-11-16 Thread Marcelo Tosatti
On Fri, Nov 12, 2010 at 10:46:10AM -0700, Alex Williamson wrote: > Make use of wmask, just like the rest of config space. > > Signed-off-by: Alex Williamson > --- > > hw/pci.c | 22 ++ > 1 files changed, 10 insertions(+), 12 deletions(-) > > diff --git a/hw/pci.c b/hw/pci

[Qemu-devel] [PATCH v3] Guest OS hangs on usb_add

2010-11-16 Thread TJ
This is a small patch to slightly "intelligentify" usb device and config descriptor parsing. MX-950 bug work-around is not included. Signed-off-by: Timothy Jones --- hw/usb.h|5 + usb-linux.c | 34 +++--- 2 files changed, 24 insertions(+), 15 deletions(-

Re: [Qemu-devel] [PATCH v2 2/2] RAM API: Make use of it for x86 PC

2010-11-16 Thread Alex Williamson
On Tue, 2010-11-16 at 08:58 -0600, Anthony Liguori wrote: > On 11/01/2010 10:14 AM, Alex Williamson wrote: > > Register the actual VM RAM using the new API > > > > Signed-off-by: Alex Williamson > > --- > > > > hw/pc.c | 12 ++-- > > 1 files changed, 6 insertions(+), 6 deletions(-) > >

Re: [Qemu-devel] [Bug 676190] [NEW] Latest git fails to link - missing main() routine

2010-11-16 Thread Stefan Hajnoczi
On Tue, Nov 16, 2010 at 6:37 PM, Nigel Horne <676...@bugs.launchpad.net> wrote: > Public bug reported: > > I can't get git 2834c3e0140c3b0ed4422909dfa0607b7213d95d to link on my > Debian Linux/x86_64 machine with gcc4.4: Peter Maydell has submitted a patch to fix this: http://patchwork.ozlabs.org/

Re: [Qemu-devel] [PATCH] Fix compilation failure with simple trace when srcdir==objdir

2010-11-16 Thread Stefan Hajnoczi
On Tue, Nov 16, 2010 at 8:07 PM, Peter Maydell wrote: > Fix a makefile error that meant that qemu would not compile if > the source and object directories were the same. > > Signed-off-by: Peter Maydell > --- >  Makefile.target |   11 +-- >  1 files changed, 5 insertions(+), 6 deletions(-

Re: [Qemu-devel] [PATCH] block: Remove unused s->hd in various drivers

2010-11-16 Thread Stefan Hajnoczi
On Tue, Nov 16, 2010 at 5:56 PM, Kevin Wolf wrote: > All drivers use bs->file instead of s->hd fpr quite a while now, so it's time > to remove s->hd. > > Signed-off-by: Kevin Wolf > --- >  block/qcow.c  |    1 - >  block/qcow2.h |    1 - >  block/vdi.c   |    1 - >  block/vmdk.c  |    1 - >  bloc

Re: [Qemu-devel] [PATCH 2/3] vnc: support password expire

2010-11-16 Thread Anthony Liguori
On 11/11/2010 05:39 AM, Gerd Hoffmann wrote: Hi, If anything goes wrong in the mgmt tool at step 2 though, then it may never to step 3, leaving the VNC server accessible. I think the point is that you can expire the password by just changing it through the monitor. Well, you can't really

Re: [Qemu-devel] [PATCH 1/2] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-11-16 Thread Peter Maydell
On 16 November 2010 18:58, Anthony Liguori wrote: > On 11/16/2010 12:54 PM, Peter Maydell wrote: >> If I add a ".PHONY: trace" or change the "trace" target >> name to "tracexyzzy" then this fixes the problem. > > Curious, care to send a patch?  I think I'm not seeing this because I build > with sr

Re: [Qemu-devel] [PATCH] Out off array access in usb-net

2010-11-16 Thread Gleb Natapov
On Tue, Nov 16, 2010 at 02:08:13PM -0600, Anthony Liguori wrote: > On 11/09/2010 04:51 AM, Markus Armbruster wrote: > >Gleb Natapov writes: > > > >>On Tue, Nov 09, 2010 at 11:16:43AM +0100, Markus Armbruster wrote: > >>>Gleb Natapov writes: > >>> > On Tue, Nov 09, 2010 at 10:30:54AM +0100, Ma

Re: [Qemu-devel] Re: [Try2][PATCH] Initial implementation of a mpeg1 layer2 streaming audio driver.

2010-11-16 Thread François Revol
Le 16 nov. 2010 à 20:33, Anthony Liguori a écrit : > On 11/16/2010 01:22 PM, Andreas Färber wrote: >> Am 15.11.2010 um 22:53 schrieb François Revol: >> >>> I'm still having a hard time getting sound to work reliably in Haiku guests >>> regardless the output or emulated card. OTH it works perfec

Re: [Qemu-devel] [PATCH] multiboot: Prevent loading of x86_64 images

2010-11-16 Thread Anthony Liguori
On 11/04/2010 05:22 PM, Adam Lackorzynski wrote: A via -kernel supplied x86_64 ELF image is being started in 32bit mode. Detect and exit if a 64bit image has been supplied. Signed-off-by: Adam Lackorzynski Acked-by: Alexander Graf Applied. Thanks. Regards, Anthony Liguori --- hw/mul

Re: [Qemu-devel] [PATCH] Out off array access in usb-net

2010-11-16 Thread Anthony Liguori
On 11/09/2010 04:51 AM, Markus Armbruster wrote: Gleb Natapov writes: On Tue, Nov 09, 2010 at 11:16:43AM +0100, Markus Armbruster wrote: Gleb Natapov writes: On Tue, Nov 09, 2010 at 10:30:54AM +0100, Markus Armbruster wrote: Gleb Natapov writes:

[Qemu-devel] [PATCH] Fix compilation failure with simple trace when srcdir==objdir

2010-11-16 Thread Peter Maydell
Fix a makefile error that meant that qemu would not compile if the source and object directories were the same. Signed-off-by: Peter Maydell --- Makefile.target | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile.target b/Makefile.target index a5e6410..652

Re: [Qemu-devel] [PATCH v2 1/2] rtl8139: add vlan tag insertion

2010-11-16 Thread Anthony Liguori
On 11/08/2010 07:46 PM, Benjamin Poirier wrote: Add support to the emulated hardware to add vlan tags in packets going from the guest to the network. Signed-off-by: Benjamin Poirier Cc: Igor V. Kovalenko --- Changes since v1: * moved the debug print statement inside the if block and reworded

Re: [Qemu-devel] Fwd: [PATCH v2] Guest OS hangs on usb_add

2010-11-16 Thread Anthony Liguori
On 11/16/2010 01:36 PM, TJ wrote: On 11/16/2010 10:00 AM, Anthony Liguori wrote: On 11/02/2010 09:51 AM, TJ wrote: Doesn't look like this has ever been committed. qemu-kvm-0.13 has just arrived to the portage tree, but I am still having problems with it. I checked the git log and it's

Re: [Qemu-devel] Fwd: [PATCH v2] Guest OS hangs on usb_add

2010-11-16 Thread TJ
On 11/16/2010 10:00 AM, Anthony Liguori wrote: > On 11/02/2010 09:51 AM, TJ wrote: >> Doesn't look like this has ever been committed. qemu-kvm-0.13 has just >> arrived >> to the portage tree, but I am still having problems with it. I checked the >> git >> log and it's not there! Please commit. >>

Re: [Qemu-devel] Re: [Try2][PATCH] Initial implementation of a mpeg1 layer2 streaming audio driver.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 01:22 PM, Andreas Färber wrote: Am 15.11.2010 um 22:53 schrieb François Revol: I'm still having a hard time getting sound to work reliably in Haiku guests regardless the output or emulated card. OTH it works perfectly in VirtualBox with almost no cpu overhead. If anyone has a clu

Re: [Qemu-devel] Re: [Try2][PATCH] Initial implementation of a mpeg1 layer2 streaming audio driver.

2010-11-16 Thread Andreas Färber
Am 15.11.2010 um 22:53 schrieb François Revol: I'm still having a hard time getting sound to work reliably in Haiku guests regardless the output or emulated card. OTH it works perfectly in VirtualBox with almost no cpu overhead. If anyone has a clue... It might be related to the use of RDTS

[Qemu-devel] [PATCH 2/3] QMP: Introduce Human Monitor passthrough command

2010-11-16 Thread Luiz Capitulino
This command allows QMP clients to execute HMP commands. Please, check the documentation added to the qmp-commands.hx file for additional details about the interface and its limitations. Signed-off-by: Luiz Capitulino --- monitor.c | 38 ++ qmp-comman

[Qemu-devel] [PATCH 3/3] QMP/qmp-shell: Introduce HMP mode

2010-11-16 Thread Luiz Capitulino
In which qmp-shell will exclusively use the HMP passthrough feature, this is useful for testing. Example: # ./qmp-shell -H qmp-sock Welcome to the HMP shell! Connected to QEMU 0.13.50 (QEMU) info network VLAN 0 devices: user.0: net=10.0.2.0, restricted=n e1000.0

[Qemu-devel] [PATCH 1/3] qemu-char: Introduce Memory driver

2010-11-16 Thread Luiz Capitulino
This driver handles in-memory chardev operations. That's, all writes to this driver are stored in an internal buffer and it doesn't talk to the external world in any way. Right now it's very simple: it supports only writes. But it can be easily extended to support more operations. This is going t

[Qemu-devel] [PATCH v4 0/3]: QMP: Human Monitor passthrough

2010-11-16 Thread Luiz Capitulino
Simple example: -> { "execute": "human-monitor-command", "arguments": { "command-line": "print /i 10+25" } } <- { "return": "35\r\n" } Please, check individual patches for details. Also note that this series depends on the script improvements one. Also, Markus suggestion of having an assert() i

Re: [Qemu-devel] Re: [PATCH] add a command line option to specify the interface to send multicast packets on

2010-11-16 Thread Mike Ryan
On Tue, Nov 16, 2010 at 07:54:58PM +0200, Michael S. Tsirkin wrote: > > > > Let's let the user pass in the IP address? That would solve the > portability issue. Further, we could be doing IPv6, right? > So you'd need IPV6_MULTICAST_IF? > Also - you might also want to control > IP_MULTICAST_LOOP/IP

[Qemu-devel] Re: [PATCHv4 15/15] Pass boot device list to firmware.

2010-11-16 Thread Gleb Natapov
On Tue, Nov 16, 2010 at 06:30:19PM +, Blue Swirl wrote: > >> Perhaps the FW path should use device class names if no name is specified. > > What do you mean by "device class name". We can do something like this: > > if (dev->child_bus.lh_first) > >        return dev->child_bus.lh_first->info->n

Re: [Qemu-devel] [PATCH 1/2] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-11-16 Thread Anthony Liguori
On 11/16/2010 12:54 PM, Peter Maydell wrote: On 16 November 2010 18:10, Anthony Liguori wrote: On 11/16/2010 11:43 AM, Peter Maydell wrote: Unfortunately these commits: 2834c3e Add support for generating a systemtap tapset static probes 4addb11 Add a DTrace tracing backend targetted

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-16 Thread Anthony Liguori
On 11/16/2010 11:23 AM, Michael S. Tsirkin wrote: On Thu, Oct 14, 2010 at 05:17:36PM -0500, Anthony Liguori wrote: On 10/14/2010 05:12 PM, Anjali Kulkarni wrote: Thanks. Does this work for e1000 as well? Haven't tried. I don't know how various e1000 drivers would react.

[Qemu-devel] Re: [PATCH v9 8/8] x3130/downstream: support aer.

2010-11-16 Thread Etienne Martineau
On Tue, 2010-11-16 at 17:26 +0900, Isaku Yamahata wrote: > add aer support. > > Signed-off-by: Isaku Yamahata I'm actually working on a scheme to provide support to handle PCI errors related to assigned devices. The goal is to notify the coresponding driver so that all his I/O access are stop

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 12:49 PM, Alexander Graf wrote: On 16.11.2010, at 19:22, Anthony PERARD wrote: On Tue, 16 Nov 2010, Anthony Liguori wrote: On 11/16/2010 11:24 AM, Alexander Graf wrote: On 16.11.2010, at 18:20, Anthony Liguori wrote: On 11/16/2010 10:59 AM, Alexan

Re: [Qemu-devel] [PATCH 1/2] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-11-16 Thread Peter Maydell
On 16 November 2010 18:10, Anthony Liguori wrote: > On 11/16/2010 11:43 AM, Peter Maydell wrote: >> Unfortunately these commits: >> 2834c3e Add support for generating a systemtap tapset static probes >> 4addb11 Add a DTrace tracing backend targetted for SystemTAP compatability > > What's your conf

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 19:22, Anthony PERARD wrote: > On Tue, 16 Nov 2010, Anthony Liguori wrote: > >> On 11/16/2010 11:24 AM, Alexander Graf wrote: >>> On 16.11.2010, at 18:20, Anthony Liguori wrote: >>> >>> On 11/16/2010 10:59 AM, Alexander Graf wrote: > >> Surely, only if it

[Qemu-devel] [Bug 676190] [NEW] Latest git fails to link - missing main() routine

2010-11-16 Thread Nigel Horne
Public bug reported: I can't get git 2834c3e0140c3b0ed4422909dfa0607b7213d95d to link on my Debian Linux/x86_64 machine with gcc4.4: All goes well until the link stage: /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crt1.o: In function `_start': (.text+0x20): undefined reference to `main'

[Qemu-devel] [PATCH] block: Remove unused s->hd in various drivers

2010-11-16 Thread Kevin Wolf
All drivers use bs->file instead of s->hd fpr quite a while now, so it's time to remove s->hd. Signed-off-by: Kevin Wolf --- block/qcow.c |1 - block/qcow2.h |1 - block/vdi.c |1 - block/vmdk.c |1 - block/vpc.c |2 -- 5 files changed, 0 insertions(+), 6 deletions(-)

Re: [Qemu-devel] Is there any approach to setup guest only network

2010-11-16 Thread 郭沐錫
Dear all Sorry I can't understand what you mean. I know I still have many things to learn. Please can you explain more clearly. Thanks a lot Best Regards, Sn 2010/11/17 Mulyadi Santosa > Hi > > 2010/11/16 郭沐錫 : > > Dear all > > I have set two directory for QEMU. > > One of my qemu-ifup

[Qemu-devel] Re: [PATCH] spice: add qxl device

2010-11-16 Thread Michael S. Tsirkin
On Tue, Nov 02, 2010 at 02:34:58PM +0100, Gerd Hoffmann wrote: > +if (ram_size < 32 * 1024 * 1024) > +ram_size = 32 * 1024 * 1024; > +vga_common_init(vga, ram_size); > +vga_init(vga); > +register_ioport_write(0x3c0, 16, 1, qxl_vga_ioport_write, vga); > +

[Qemu-devel] Re: [PATCH] add a command line option to specify the interface to send multicast packets on

2010-11-16 Thread Michael S. Tsirkin
On Wed, Nov 10, 2010 at 05:47:35PM -0800, Mike Ryan wrote: > Add an option to specify the host interface to send multicast packets on > when using a multicast socket for networking. The option takes the name > of a host interface (e.g., eth0) and sets the IP_MULTICAST_IF socket > option, which caus

[Qemu-devel] Re: [PATCHv4 15/15] Pass boot device list to firmware.

2010-11-16 Thread Blue Swirl
2010/11/16 Gleb Natapov : > On Mon, Nov 15, 2010 at 08:29:24PM +, Blue Swirl wrote: >> 2010/11/15 Gleb Natapov : >> > On Sun, Nov 14, 2010 at 10:50:13PM +, Blue Swirl wrote: >> >> On Sun, Nov 14, 2010 at 3:39 PM, Gleb Natapov wrote: >> >> > >> >> > Signed-off-by: Gleb Natapov >> >> > ---

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony PERARD
On Tue, 16 Nov 2010, Anthony Liguori wrote: > On 11/16/2010 11:24 AM, Alexander Graf wrote: > > On 16.11.2010, at 18:20, Anthony Liguori wrote: > > > > > >> On 11/16/2010 10:59 AM, Alexander Graf wrote: > >> > >>> > Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM > >

[Qemu-devel] Re: [PATCHv4 15/15] Pass boot device list to firmware.

2010-11-16 Thread Blue Swirl
On Tue, Nov 16, 2010 at 7:22 AM, Gleb Natapov wrote: > On Mon, Nov 15, 2010 at 09:52:19PM -0500, Kevin O'Connor wrote: >> On Mon, Nov 15, 2010 at 03:36:25PM +0200, Gleb Natapov wrote: >> > On Mon, Nov 15, 2010 at 08:26:35AM -0500, Kevin O'Connor wrote: >> > > On Mon, Nov 15, 2010 at 09:40:08AM +02

[Qemu-devel] [Bug 563582] Re: KVM 9.10 crashes for suse-10 as guest

2010-11-16 Thread Anthony Liguori
Please do not file bugs against upstream unless they've been explicitly reproduced against an upstream version. Thanks. ** Changed in: qemu Status: New => Invalid -- KVM 9.10 crashes for suse-10 as guest https://bugs.launchpad.net/bugs/563582 You received this bug notification because yo

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 18:27, Anthony Liguori wrote: > On 11/16/2010 11:24 AM, Alexander Graf wrote: >> On 16.11.2010, at 18:20, Anthony Liguori wrote: >> >> >>> On 11/16/2010 10:59 AM, Alexander Graf wrote: >>> > Surely, only if it is running on a Xen Dom0. If you use -M xenp

Re: [Qemu-devel] [PATCH 1/2] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-11-16 Thread Anthony Liguori
On 11/16/2010 11:43 AM, Peter Maydell wrote: On 16 November 2010 15:46, Anthony Liguori wrote: On 11/08/2010 01:33 PM, Daniel P. Berrange wrote: This introduces a new tracing backend that targets the SystemTAP implementation of DTrace userspace tracing. Applied both. Th

[Qemu-devel] Re: [PATCH 0/2] msi support for virtfs

2010-11-16 Thread Michael S. Tsirkin
On Thu, Nov 11, 2010 at 12:59:24PM +0100, Gerd Hoffmann wrote: > Hi, > > This tiny patch series adds msi support for virtfs. It's two patches > only because we need a compat property to stay compatible with -stable > and we don't have a pc-0.14 machine type yet, so this is added first. Scared

Re: [Qemu-devel] [PATCH 1/2] Add a DTrace tracing backend targetted for SystemTAP compatability

2010-11-16 Thread Peter Maydell
On 16 November 2010 15:46, Anthony Liguori wrote: > On 11/08/2010 01:33 PM, Daniel P. Berrange wrote: >> This introduces a new tracing backend that targets the SystemTAP >> implementation of DTrace userspace tracing. > Applied both.  Thanks. Unfortunately these commits: 2834c3e Add support for g

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 11:24 AM, Alexander Graf wrote: On 16.11.2010, at 18:20, Anthony Liguori wrote: On 11/16/2010 10:59 AM, Alexander Graf wrote: Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM host, then -M xenpv should imply -machine accel=kvm (ie it wou

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-16 Thread Michael S. Tsirkin
On Thu, Oct 14, 2010 at 02:07:17PM +0200, Avi Kivity wrote: > On 10/14/2010 12:54 AM, Anthony Liguori wrote: > >On 10/13/2010 05:32 PM, Anjali Kulkarni wrote: > >> > >>Hi, > >> > >>Using the legacy way of starting up NICs, I am hitting a > >>limitation after 29 > >>NICs ie no more than 29 are dete

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 18:20, Anthony Liguori wrote: > On 11/16/2010 10:59 AM, Alexander Graf wrote: >> >>> Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM >>> host, then -M xenpv should imply -machine accel=kvm (ie it would be using >>> xenner) >>> >> Actually, it shou

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 10:59 AM, Alexander Graf wrote: Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM host, then -M xenpv should imply -machine accel=kvm (ie it would be using xenner) Actually, it should imply -machine accel=kvm,tcg :). Accelerators really are not a ma

[Qemu-devel] Re: Hitting 29 NIC limit

2010-11-16 Thread Michael S. Tsirkin
On Thu, Oct 14, 2010 at 05:17:36PM -0500, Anthony Liguori wrote: > On 10/14/2010 05:12 PM, Anjali Kulkarni wrote: > >Thanks. Does this work for e1000 as well? > > Haven't tried. I don't know how various e1000 drivers would react. > > >Also, does it support pci hotplug? > > No, but that's fixabl

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Anthony Liguori
On 11/16/2010 10:55 AM, Daniel P. Berrange wrote: Just -machine accel=accels. Part of my rational is that accelerator is a machine property. If you do -M xenpv it ought to imply -machine accel=xen. Surely, only if it is running on a Xen Dom0. If you use -M xenpv on a KVM host, then -M xe

Re: [Qemu-devel] [PATCH v2 3/3] trace: enable all events by default

2010-11-16 Thread Stefan Hajnoczi
On Thu, Nov 11, 2010 at 9:31 AM, Stefan Hajnoczi wrote: > On Wed, Nov 10, 2010 at 9:20 PM, Lluís wrote: >> Blue Swirl writes: >> >>> On Wed, Nov 10, 2010 at 7:57 PM, Lluís wrote: Blue Swirl writes: > On Wed, Nov 10, 2010 at 5:59 PM, Lluís wrote: >> So, my patch is just a matte

Re: [Qemu-devel] [PATCH] Introduce -accel command option.

2010-11-16 Thread Alexander Graf
On 16.11.2010, at 17:55, Daniel P. Berrange wrote: > On Tue, Nov 16, 2010 at 10:41:25AM -0600, Anthony Liguori wrote: >> On 11/16/2010 10:10 AM, Anthony PERARD wrote: >>> On Mon, 15 Nov 2010, Anthony Liguori wrote: >>> >>> On 11/15/2010 09:45 AM, anthony.per...@citrix.com wrote:

[Qemu-devel] Re: [PATCH v3 2/3] virtio-pci: Use ioeventfd for virtqueue notify

2010-11-16 Thread Stefan Hajnoczi
On Tue, Nov 16, 2010 at 4:02 PM, Michael S. Tsirkin wrote: > On Fri, Nov 12, 2010 at 01:24:28PM +, Stefan Hajnoczi wrote: >> Virtqueue notify is currently handled synchronously in userspace virtio.   >> This >> prevents the vcpu from executing guest code while hardware emulation code >> handle

  1   2   >