Re: [Qemu-devel] [PATCH v2 00/28] Refactor and cleanup migration code

2011-04-02 Thread Yoshiaki Tamura
2011/2/24 Juan Quintela : > v2: > - make Jan^Wcheckpatch.pl happy > - Yoshiaki Tamura suggestions: >  - include its two patches to clean things >  - MAX_THROTTLE define >  - migration_state enum > - I removed spurious differences between migration-{tcp,unix} > - better error propagation, after this

Re: [Qemu-devel] BUG: 0.14.0 -device usb-host supports only one device

2011-04-02 Thread Erik Rull
No idea how to start here? If someone could assist me where to start and what information to collect, I could help debugging and finding a solution for that. Best regards, Erik Erik Rull wrote: When enabling the -device usb-host option support for adding automatically USB devices from the h

Re: [Qemu-devel] [PATCH v25 00/10] usb-ccid

2011-04-02 Thread Alon Levy
On Fri, Apr 01, 2011 at 06:12:07PM +0300, Alon Levy wrote: > This patchset adds three new devices, usb-ccid, ccid-card-passthru and > ccid-card-emulated, providing a CCID bus, a simple passthru protocol > implementing card requiring a client, and a standalone emulated card. > Please note that pat

[Qemu-devel] [Bug 647793] Re: tap-bsd.c has no test for Mac OS X

2011-04-02 Thread boecko
this seems to be fixed in QEMU 0.14 ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/647793 Title: tap-bsd.c has no test for Mac OS X Status in

[Qemu-devel] [PATCH] Fix conversions from pointer to tcg_target_long

2011-04-02 Thread Stefan Weil
tcg_gen_exit_tb takes a parameter of type tcg_target_long, so the type casts of pointer to long should be replaced by type casts of pointer to tcg_target_long (suggested by Blue Swirl). These changes are needed for build environments where sizeof(long) != sizeof(void *), especially for w64. Signe

Re: [Qemu-devel] checkpatch.pl: warn on C99 comments, but don't fail

2011-04-02 Thread Stefan Hajnoczi
On Fri, Apr 1, 2011 at 6:25 PM, Michael Roth wrote: > On 04/01/2011 12:01 PM, Stefan Hajnoczi wrote: >> >> On Fri, Apr 01, 2011 at 11:55:39AM -0500, Michael Roth wrote: >>> >>> I'd prefer to only document "strict" guidelines, and treat >>> checkpatch.pl warnings ("suggestions") as an extra "reward

Re: [Qemu-devel] GSoC: Improved image format compatibility

2011-04-02 Thread Stefan Hajnoczi
On Fri, Apr 1, 2011 at 7:29 PM, Lyu Mitnick wrote: > Hello > I have some question about asynchronous i/o in QEMU block driver: Why a file > format with asynchronous i/o support(ex. qcow) doesn't need to register > bdrv_read/bdrv_write which is registered in vhd file format?? Would qcow > block dri

Re: [Qemu-devel] [PATCH 2/2] checkpatch.pl: make C99 comments a warning, not error

2011-04-02 Thread Stefan Hajnoczi
On Fri, Apr 1, 2011 at 7:46 PM, Blue Swirl wrote: > I think the only reasonable use for C99 comments is > //#define DEBUG_xyz > for quickly enabling debugging printfs. > > But even this pattern should be replaced by tracepoints, since they > are much better. So I'd prefer to keep the ERROR. Pleas

Re: [Qemu-devel] [PATCH] Register only one qbus_reset_all_fn() for system bus

2011-04-02 Thread Dmitry Eremin-Solenikov
On 4/2/11, Isaku Yamahata wrote: >> Have you verified that all bus devices have been qdevified since this >> code has been added? I wouldn't bet it is the case. > > I think his analysis is valid. So how about the following patch. Could you please point me to an example of devices for which this c

[Qemu-devel] 2.6.32.x guest dies when trying to run tcpdump

2011-04-02 Thread Nikola Ciprich
Hello, I noticed few times, that when I try to run tcpdump on 2.6.32.x, the guest end up badly, it gets stuck for some time, and either reboots, or gets into pretty good state. I'm using virtio, both host and guests are x86_64, host is 2.6.37 (but I noticed this problem also with older host kernels

Re: [Qemu-devel] [PATCH 1/3] arm: basic support for ARMv4/ARMv4T emulation

2011-04-02 Thread Dmitry Eremin-Solenikov
On 3/31/11, Dmitry Eremin-Solenikov wrote: > On 3/30/11, Peter Maydell wrote: >> On 30 March 2011 12:41, Dmitry Eremin-Solenikov >> wrote: >>> @@ -7172,10 +7210,7 @@ static void disas_arm_insn(CPUState * env, >>> DisasContext *s) >>> } >>> if (insn & (1 << 20)) { >>>

[Qemu-devel] Re: 2.6.32.x guest dies when trying to run tcpdump

2011-04-02 Thread Stefan Hajnoczi
On Sat, Apr 2, 2011 at 4:23 PM, Nikola Ciprich wrote: > I'm using virtio network channel, and on one of the guests (the one with > aborted ext4) I use it also for one of virtual disks. > One more interesting thing, I can't reproduce this immediately after guest > boot, but for example second day

Re: [Qemu-devel] GSoC: Improved image format compatibility

2011-04-02 Thread Lyu Mitnick
Hello Stefan, I have take a look at block.c. But I am a little confused about the meaning of synchronous/asynchronous i/o. I know the two concept in a operating system. However I am not sure whether it is analogous in virtual machine. 2011/4/2 Stefan Hajnoczi > On Fri, Apr 1, 2011 at 7:29 PM,

[Qemu-devel] Re: 2.6.32.x guest dies when trying to run tcpdump

2011-04-02 Thread Nikola Ciprich
Hello Stefan! > It looks like your guests are SMP. How many vcpus are you running? > How many physical cpus does /proc/cpuinfo list on the host? one of guests is SMP (8cpus), one is UP, host has 2x4 cores. > > Is the host overloaded when this occurs? nope > > Are there any clues in host dmesg?

[Qemu-devel] I want to emulate Android's goldfish on QEMU, but first: How to familiarize with QEMU's source code and design?

2011-04-02 Thread AKA
Hi guys. I joined the QEMU developer list a few days ago and have to admit that this is my first 'official' and bigger open source project I want to participate. So please give me a bit time to acclimatise; and don't hesitate to give me feedback to speed up this process :-) *Preliminaries: What I

[Qemu-devel] Help Debugging AIX boot on qemu-system-ppc (it reads bootfile.exe now)

2011-04-02 Thread Kenneth Salerno
Hi, I have been using QEMU for a few years and periodically tested AIX V6.1 with qemu-system-ppc and read the various threads in the mailing list knowing not to expect it to work just yet. However, with OpenBIOS v1.0 I was surprised to find how far it gets now. Please see below and I would appr

Re: [Qemu-devel] [PATCH 1/2] extract I/O handler lists to iohandler.c

2011-04-02 Thread Roy Tam
Hi, 2011/3/10 Paolo Bonzini : > Signed-off-by: Paolo Bonzini > --- >        I had this patch queued for a while; only today I noticed the >        very similar one in virtagent. > >  Makefile.objs |    2 +- >  iohandler.c   |  129 > + >  qe

Re: [Qemu-devel] Help Debugging AIX boot on qemu-system-ppc (it reads bootfile.exe now)

2011-04-02 Thread malc
On Sat, 2 Apr 2011, Kenneth Salerno wrote: > Hi, > > I have been using QEMU for a few years and periodically tested AIX V6.1 with > qemu-system-ppc and read the various threads in the mailing list knowing not > to expect it to work just yet. However, with OpenBIOS v1.0 I was surprised to > fin

[Qemu-devel] [PATCH v2 0/4]usb: implement Interface Association Descriptor support

2011-04-02 Thread Brad Hards
These descriptors are covered in Section 9.6.4 of the USB 3.0 spec, but there is a better description in the Intel IAD whitepaper (www.usb.org/developers/whitepapers/iadclasscode_r10.pdf). The short version is that IAD is an extra descriptor type that appears before a group (two or more) interf

[Qemu-devel] [PATCH 1/4] usb: Add Interface Association Descriptor descriptor type

2011-04-02 Thread Brad Hards
Signed-off-by: Brad Hards --- hw/usb.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/usb.h b/hw/usb.h index d3d755d..418853f 100644 --- a/hw/usb.h +++ b/hw/usb.h @@ -124,6 +124,7 @@ #define USB_DT_ENDPOINT0x05 #define USB_DT_DEVICE_QUALIFIER

[Qemu-devel] [PATCH 2/4] usb: update config descriptors to identify number of interfaces

2011-04-02 Thread Brad Hards
Previously we relied on the .bNumInterfaces, but that won't always be accurate after the introduction of grouped interfaces. Signed-off-by: Brad Hards --- hw/usb-hid.c|3 +++ hw/usb-hub.c|1 + hw/usb-msd.c|2 ++ hw/usb-serial.c |1 + hw/usb-wacom.c |1 + 5 files

[Qemu-devel] [PATCH 3/4] usb: remove fallback to bNumInterfaces if no .nif

2011-04-02 Thread Brad Hards
All callers have been updated. Signed-off-by: Brad Hards --- hw/usb-desc.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hw/usb-desc.c b/hw/usb-desc.c index 62591f2..a784155 100644 --- a/hw/usb-desc.c +++ b/hw/usb-desc.c @@ -76,7 +76,7 @@ int usb_desc_config(const

[Qemu-devel] [PATCH 4/4] usb: add support for "grouped" interfaces and the Interface Association Descriptor

2011-04-02 Thread Brad Hards
This is used for some devices that have multiple interfaces that form a logic device. An example is Video Class, which has a Control interface and a Streaming interface. There can be additional interfaces on the same (physical) devices (e.g. a microphone), and Interface Association Descriptor handl

[Qemu-devel] [PATCH] w32: Fix compilation (wrong include file)

2011-04-02 Thread Stefan Weil
arpa/inet.h is not available for w32, so commit edbb21363fbfe40e050f583df921484cbc31c79d breaks w32 compilations. This is fixed by using qemu_socket.h. Cc: Alon Levy Signed-off-by: Stefan Weil --- hw/ccid-card-passthru.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git