Re: [Qemu-devel] [BUG] [Seabios] PCI 64bit BARs on Win2008 - unable to start the device. (ACPI lacks the _DSM method)

2011-11-29 Thread Michael S. Tsirkin
On Wed, Nov 30, 2011 at 02:04:08PM +1300, Alexey Korolev wrote: > Hi, > > We have got some issues with 64bit PCI devices support under Windows guests. > Windows fails to start any PCI devices with 64bit BARs when size > exceeds 512MB with error code 12 (can't allocate resources). In > other words

Re: [Qemu-devel] [PATCH V3 0/4] i.MX31 and KZM board support

2011-11-29 Thread Peter Chubb
> "Stefan" == Stefan Weil writes: Stefan> Am 30.11.2011 04:36, schrieb Peter Chubb: >> Changes since last patchset: * All files now under GPL version 2 or >> later (I've talked with OK-Labs and they've agreed). Stefan> hw/imx_serial.c is still GPL 2 only. I did not review the Stefan> rest.

Re: [Qemu-devel] [PATCH V3 0/4] i.MX31 and KZM board support

2011-11-29 Thread Stefan Weil
Am 30.11.2011 04:36, schrieb Peter Chubb: Changes since last patchset: * All files now under GPL version 2 or later (I've talked with OK-Labs and they've agreed). hw/imx_serial.c is still GPL 2 only. I did not review the rest. * `DPRINTF' like macro for printing out guest kernel a

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Harsh Bora
On 11/29/2011 06:26 PM, Stefan Hajnoczi wrote: On Tue, Nov 29, 2011 at 12:35 PM, Markus Armbruster wrote: Stefan Hajnoczi writes: [...] So forget I said "self-describing" :). I think the only changes from the v1 format we need are: 1. New magic number to mark v2 format. 2. Trace records a

Re: [Qemu-devel] [PATCH 0/4] KVM: Dirty logging optimization using rmap

2011-11-29 Thread Takuya Yoshikawa
(2011/11/30 14:02), Takuya Yoshikawa wrote: IIUC, even though O(1) is O(1) at the timing of GET DIRTY LOG, it needs O(N) write protections with respect to the total number of dirty pages: distributed, but actually each page fault, which should be logged, does some write protection? Sorry, was

Re: [Qemu-devel] [PATCH 0/4] KVM: Dirty logging optimization using rmap

2011-11-29 Thread Takuya Yoshikawa
CCing qemu devel, Juan, (2011/11/29 23:03), Avi Kivity wrote: On 11/29/2011 02:01 PM, Avi Kivity wrote: On 11/29/2011 01:56 PM, Xiao Guangrong wrote: On 11/29/2011 07:20 PM, Avi Kivity wrote: We used to have a bitmap in a shadow page with a bit set for every slot pointed to by the page. If

[Qemu-devel] [PATCH V3 1/4] Implement the FreeScale i.MX UART. This uart is used in a variety of SoCs, including some by Motorola, as well as in the FreeScale i.MX series.

2011-11-29 Thread Peter Chubb
Signed-off-by: Hans Jang Signed-off-by: Adam Clench Signed-off-by: Peter Chubb --- Makefile.target |1 hw/imx_serial.c | 320 2 files changed, 321 insertions(+) create mode 100644 hw/imx_serial.c Index: qemu-working/hw/imx_serial.

[Qemu-devel] [PATCH V3 2/4] Implement the timers on the FreeScale i.MX31 SoC. This is not a complete implementation, but gives enough for Linux to boot and run.

2011-11-29 Thread Peter Chubb
Signed-off-by: Hans Jang Signed-off-by: Adam Clench Signed-off-by: Peter Chubb --- Makefile.target |2 hw/imx_timer.c | 460 2 files changed, 461 insertions(+), 1 deletion(-) create mode 100644 hw/imx_timer.c Index: qemu-working

[Qemu-devel] [PATCH V3 3/4] Implement the FreeSCALE i.MX31 advanced vectored interrupt controller, at least to the extent it is used by Linux 3.0.x

2011-11-29 Thread Peter Chubb
Signed-off-by: Hans Jang Signed-off-by: Adam Clench Signed-off-by: Peter Chubb --- Makefile.target |2 hw/imx_avic.c | 378 2 files changed, 379 insertions(+), 1 deletion(-) create mode 100644 hw/imx_avic.c Index: qemu-working/h

[Qemu-devel] [PATCH V3 4/4] Board support for Kyoto Micros KZM-ARM11-01, an evaluation board built around the FreeScale i.MX31.

2011-11-29 Thread Peter Chubb
Signed-off-by: Hans Jang Signed-off-by: Adam Clench Signed-off-by: Peter Chubb --- Makefile.target |1 hw/kzm.c| 155 2 files changed, 156 insertions(+) create mode 100644 hw/kzm.c Index: qemu-working/hw/kzm.c

[Qemu-devel] [PATCH V3 0/4] i.MX31 and KZM board support

2011-11-29 Thread Peter Chubb
Changes since last patchset: * All files now under GPL version 2 or later (I've talked with OK-Labs and they've agreed). * `DPRINTF' like macro for printing out guest kernel and qemu implementation errors * Fixed bugs in avic implementation, as found by PMM * Use a static initialis

Re: [Qemu-devel] [ICON] My name is Q, Q Emu!

2011-11-29 Thread 陳韋任
> * The nostril is Yin-shaped; the matching Yang would be KVM or Xen. :) Hey, you know Yin-Yang! XD But, there should be a Yang spot in the Yin-shape. I'm just too picky. :p http://en.wikipedia.org/wiki/Taiji Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Info

Re: [Qemu-devel] KVM call minutes for November 29

2011-11-29 Thread Juan Quintela
Markus Armbruster wrote: > Avi Kivity writes: > >> On 11/29/2011 05:51 PM, Juan Quintela wrote: >>> How to do high level stuff? >>> - python? >>> >> >> One of the disadvantages of the various scripting languages is the lack >> of static type checking, which makes it harder to do full sweeps of th

[Qemu-devel] [BUG] [Seabios] PCI 64bit BARs on Win2008 - unable to start the device. (ACPI lacks the _DSM method)

2011-11-29 Thread Alexey Korolev
Hi, We have got some issues with 64bit PCI devices support under Windows guests. Windows fails to start any PCI devices with 64bit BARs when size exceeds 512MB with error code 12 (can't allocate resources). In other words it fails when the PCI memory region is located above 4GB. I tried to in

[Qemu-devel] SEMPRE MAIS

2011-11-29 Thread VENDAS
Caso não visualize esse email adequadamente VIEW_LINK http://infomaisnet1.enviodenews.com/ver_mensagem.php?id=H|2149|75271|13300584354600acesse este link[/VIEW_LINK] Se você não deseja mais receber nossos e-mails, cancele sua inscrição através do link http://infomaisnet1.enviodenews.com/admin/

Re: [Qemu-devel] [PATCH 2/3] raw-posix: Do not use CONFIG_COCOA macro

2011-11-29 Thread Andreas Färber
Am 10.11.2011 19:40, schrieb Pavel Borzenkov: > Use __APPLE__ and __MACH__ macros instead of CONFIG_COCOA to detect Mac > OS X host. The patch is based on the Ben Leslie's patch: > http://patchwork.ozlabs.org/patch/97859/ > > Signed-off-by: Pavel Borzenkov Reviewed-by: Andreas Färber Still in

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-11-29 Thread Alex Williamson
On Tue, 2011-11-29 at 17:20 -0600, Stuart Yoder wrote: > > > > BTW, github now has updated trees: > > > > git://github.com/awilliam/linux-vfio.git vfio-next-2029 > > git://github.com/awilliam/qemu-vfio.git vfio-ng > > Hi Alex, > > Have been looki

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-11-29 Thread Stuart Yoder
> > BTW, github now has updated trees: > > git://github.com/awilliam/linux-vfio.git vfio-next-2029 > git://github.com/awilliam/qemu-vfio.git vfio-ng Hi Alex, Have been looking at vfio a bit. A few observations and things we'll need to figure out as it relates to

Re: [Qemu-devel] KVM call minutes for November 29

2011-11-29 Thread Anthony Liguori
On 11/29/2011 10:59 AM, Avi Kivity wrote: On 11/29/2011 05:51 PM, Juan Quintela wrote: How to do high level stuff? - python? One of the disadvantages of the various scripting languages is the lack of static type checking, which makes it harder to do full sweeps of the source for API changes,

[Qemu-devel] [PATCH 1/2] qapi: fix guardname generation

2011-11-29 Thread Michael Roth
Fix a bug in handling dotted paths, and exclude directory prefixes from generated guardnames to avoid odd/pseudo-random guardnames in generated headers. --- scripts/qapi.py |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/qapi.py b/scripts/qapi.py index 529997

[Qemu-devel] [PATCH 2/2] Makefile: use full path for qapi-generated directory

2011-11-29 Thread Michael Roth
Generally $(BUILD_DIR) == $(CURDIR), but that isn't necessarilly the case, so use $(BUILD_DIR)/qapi-generated for generated files to avoid potentionally sticking generating files in odd places outside the build's include paths. --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(

Re: [Qemu-devel] [PATCH] Guest stop notification

2011-11-29 Thread Anthony Liguori
On 11/29/2011 03:36 PM, Eric B Munson wrote: Often when a guest is stopped from the qemu console, it will report spurious soft lockup warnings on resume. There are kernel patches being discussed that will give the host the ability to tell the guest that it is being stopped and should ignore the

[Qemu-devel] [PATCH] Guest stop notification

2011-11-29 Thread Eric B Munson
Often when a guest is stopped from the qemu console, it will report spurious soft lockup warnings on resume. There are kernel patches being discussed that will give the host the ability to tell the guest that it is being stopped and should ignore the soft lockup warning that generates. Signed-off

Re: [Qemu-devel] [Xen-devel] [PATCH V5 06/10] pci.c: Add pci_check_bar_overlap

2011-11-29 Thread Konrad Rzeszutek Wilk
On Thu, Nov 24, 2011 at 05:44:35PM +, Anthony PERARD wrote: > From: Yuji Shimada > > This function help Xen PCI Passthrough device to check for overlap. helps > > Signed-off-by: Yuji Shimada > Signed-off-by: Anthony PERARD > --- > hw/pci.c | 47 +

Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-29 Thread Jordan Justen
On Tue, Nov 29, 2011 at 01:38, Avi Kivity wrote: > On 11/29/2011 09:03 AM, Jordan Justen wrote: >> On Mon, Nov 28, 2011 at 02:28, Avi Kivity wrote: >> > On 11/28/2011 04:26 AM, Jordan Justen wrote: >> >> Enable flash emulation in a PC system using pflash_cfi01. >> > >> > The new memory layout sho

Re: [Qemu-devel] [PATCH] configure: Drop armv4l/armv4b distinction in $cpu

2011-11-29 Thread Peter Maydell
On 29 November 2011 19:26, Andreas Färber wrote: > If you place "arm" between "alpha" and "cris" instead (alphabetical > order except for i386+x86_64), > > Reviewed-by: Andreas Färber Doh, good point. Will send v2 tomorrow. -- PMM

[Qemu-devel] [Bug 897750] Re: libvirt/kvm problem with disk attach/detach/reattach on running virt

2011-11-29 Thread Serge Hallyn
(qemu) device_add driver=ne2k_pci,id=x (qemu) device_del x (qemu) device_add driver=ne2k_pci,id=x Duplicate ID 'x' for device It appears that drive_add/drive_del works fine, but device_del does not fully delete its members. This happens with today's git HEAD of qemu as well, in other words it aff

Re: [Qemu-devel] [PATCH] configure: Drop armv4l/armv4b distinction in $cpu

2011-11-29 Thread Andreas Färber
Am 29.11.2011 18:18, schrieb Peter Maydell: > Drop the distinction between armv4l/armv4b in the $cpu variable > (ie host cpu type) in favour of calling everything 'arm'. This > makes it the same as the ARCH setting and removes some special > casing. The only thing we were using the distinction for

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-11-29 Thread Alex Williamson
or, 0:success, >0: number of MSIs we think we can setup, without actually setting them. Sound good? BTW, github now has updated trees: git://github.com/awilliam/linux-vfio.git vfio-next-2029 git://github.com/awilliam/qemu-vfio.git vfio-ng Thanks, Alex > > KERNEL patch: > >

Re: [Qemu-devel] KVM call minutes for November 29

2011-11-29 Thread Markus Armbruster
Avi Kivity writes: > On 11/29/2011 05:51 PM, Juan Quintela wrote: >> How to do high level stuff? >> - python? >> > > One of the disadvantages of the various scripting languages is the lack > of static type checking, which makes it harder to do full sweeps of the > source for API changes, relying

[Qemu-devel] [Bug 897466] Re: UHCI Host Controller no longer present with -usb

2011-11-29 Thread Serge Hallyn
Reproduced with today's qemu git head as well. ** Also affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/897466 Title: UHCI Host Controller no

[Qemu-devel] [Bug 897771] Re: qemu 1.0-rc4 no longer able to boot NetBSD-current/i386

2011-11-29 Thread Stefan Weil
Bisecting shows this commit caused the problem: d0ed8076cbdc26138a7e33fed5e45a35d019a103 is the first bad commit commit d0ed8076cbdc26138a7e33fed5e45a35d019a103 Author: Avi Kivity Date: Sun Jul 24 17:47:18 2011 +0300 pci_host: convert conf index and data ports to memory API Review

Re: [Qemu-devel] [Android-virt] plans for QEMU support for KVM on ARM

2011-11-29 Thread Christoffer Dall
On Tue, Nov 29, 2011 at 1:16 PM, Peter Maydell wrote: > On 24 November 2011 23:06, Peter Maydell wrote: >> On 24 November 2011 22:02, Christoffer Dall wrote: >>> On Thu, Nov 24, 2011 at 4:27 PM, Peter Maydell >>> wrote: Pretty high up my todo list was rebasing your kvm patch on to ma

Re: [Qemu-devel] [Android-virt] plans for QEMU support for KVM on ARM

2011-11-29 Thread Peter Maydell
On 24 November 2011 23:06, Peter Maydell wrote: > On 24 November 2011 22:02, Christoffer Dall wrote: >> On Thu, Nov 24, 2011 at 4:27 PM, Peter Maydell >> wrote: >>> Pretty high up my todo list was rebasing your kvm patch on to >>> master / qemu-linaro (the two are more or less the same for this

Re: [Qemu-devel] problem in setting up vmchannel with libvirt

2011-11-29 Thread Dave Allan
On Tue, Nov 29, 2011 at 09:55:32AM +, will wrote: > Hi, > I am trying to set up vmchannel between the host and guest os. > > However, "sudo virsh start vm1" always gave me this error: > * > error: Failed to start domain vm1 > error: i

[Qemu-devel] [PATCH] configure: Drop armv4l/armv4b distinction in $cpu

2011-11-29 Thread Peter Maydell
Drop the distinction between armv4l/armv4b in the $cpu variable (ie host cpu type) in favour of calling everything 'arm'. This makes it the same as the ARCH setting and removes some special casing. The only thing we were using the distinction for was to decide which endianness to use in cross compi

Re: [Qemu-devel] [Bug 897771] [NEW] qemu 1.0-rc4 no longer able to boot NetBSD-current/i386

2011-11-29 Thread Avi Kivity
On 11/29/2011 06:46 PM, Andreas Gustafsson wrote: > Public bug reported: > > Booting a NetBSD-current/i386 install CD using qemu 1.0-rc4 fails. The > same CD does boot in earlier versions of qemu, for example, 0.11.0. > Please try to find what is the last major release of qemu that did boot this c

Re: [Qemu-devel] KVM call minutes for November 29

2011-11-29 Thread Avi Kivity
On 11/29/2011 05:51 PM, Juan Quintela wrote: > How to do high level stuff? > - python? > One of the disadvantages of the various scripting languages is the lack of static type checking, which makes it harder to do full sweeps of the source for API changes, relying on the compiler to catch type (or

[Qemu-devel] [Bug 897771] [NEW] qemu 1.0-rc4 no longer able to boot NetBSD-current/i386

2011-11-29 Thread Andreas Gustafsson
Public bug reported: Booting a NetBSD-current/i386 install CD using qemu 1.0-rc4 fails. The same CD does boot in earlier versions of qemu, for example, 0.11.0. To reproduce, download the http://www.gson.org/netbsd/bugs/qemu/boot-com-20270050Z.iso and attempt to boot it with: qemu -nogr

Re: [Qemu-devel] [PATCH] exec.c: Fix subpage memory access to RAM MemoryRegion

2011-11-29 Thread Avi Kivity
On 11/29/2011 06:19 PM, Andreas Färber wrote: > Am 29.11.2011 15:00, schrieb Avi Kivity: > > On 11/29/2011 02:47 PM, Andreas Färber wrote: > >>> > >>> addr += mmio->region_offset[idx]; > >>> idx = mmio->sub_io_index[idx]; > >>> +if (unlikely(idx == IO_MEM_RAM)) { > >>> +ram_

Re: [Qemu-devel] [PATCH] fix out of tree build

2011-11-29 Thread Stefano Stabellini
On Mon, 28 Nov 2011, Stefan Weil wrote: > The broken build can be reproduced with a source path containing at > least one dot. > Source paths without any dot will show no problems. My source path was > ~/src/qemu/qemu.org/qemu. Sorry for the build break, I didn't have any dots in my source path

Re: [Qemu-devel] [PATCH] exec.c: Fix subpage memory access to RAM MemoryRegion

2011-11-29 Thread Andreas Färber
Am 29.11.2011 15:00, schrieb Avi Kivity: > On 11/29/2011 02:47 PM, Andreas Färber wrote: >>> >>> addr += mmio->region_offset[idx]; >>> idx = mmio->sub_io_index[idx]; >>> +if (unlikely(idx == IO_MEM_RAM)) { >>> +ram_addr_t raddr = /*mmio->base |*/ addr; >>> +void *ptr

Re: [Qemu-devel] virtio-9p compiling error

2011-11-29 Thread erik . rull
My host system is Debian 4.0 My compiler is gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Due to other hardware constraints I'm forced to this version as build machine. If you need more information, just let me know. Best regards, Erik

[Qemu-devel] KVM call minutes for November 29

2011-11-29 Thread Juan Quintela
Plans for 1.0 - rc4 should be the last release - should ship 1.0 on Thrusday Merge window start on Monday How to handle stable tree, getting a stable team? - Justin: he don't do schedules for releases because it depends on when patches arrive. - Adding a list for stable patches instead of more

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-29 Thread Richard Henderson
On 11/29/2011 01:09 AM, Tristan Gingold wrote: >> Then what is your suggestion? > > Point to the middle ? > > IE, positive offsets for the common structure, negative offsets for the > architecture defined ones. Well, Andreas wants to put the common data at the beginning, which would mean vice v

Re: [Qemu-devel] [PATCH 0/5] convert some omap devices to memory API

2011-11-29 Thread Avi Kivity
On 11/29/2011 04:43 PM, Benoît Canet wrote: > Avi, > > Do you have some reference commits regarding portio conversions ? Sure: isa bus: 23af670e5350e3 f75317b420ed8 4a91d3b33784e7a non-isa: d2c33733c85c4d (hw/prep_pci.c, hw/piix_pci.c) 561e182755f -- error compiling committee.c: too

Re: [Qemu-devel] [PATCH 0/5] convert some omap devices to memory API

2011-11-29 Thread Benoît Canet
Avi, Do you have some reference commits regarding portio conversions ? 2011/11/28 Avi Kivity > On 11/25/2011 04:21 PM, Benoît Canet wrote: > > These patch convert some omap devices to the memory API > > > > > > Thanks, applied. patch 5 didn't make it to the list, so I took an > earlier version

[Qemu-devel] [Bug 897193] Re: virtfs: kernel compile fails

2011-11-29 Thread Avishay Traeger
Hi, I am running qemu as root. The output from strace for the command that you requested shows that this is the problem: rename(".tmpconfig.h", "include/generated/autoconf.h") = -1 ENOENT (No such file or directory) The command fails because the directory 'include/generated' doesn't exist beca

Re: [Qemu-devel] [PATCH] exec.c: Fix subpage memory access to RAM MemoryRegion

2011-11-29 Thread Avi Kivity
On 11/29/2011 02:47 PM, Andreas Färber wrote: > > > > addr += mmio->region_offset[idx]; > > idx = mmio->sub_io_index[idx]; > > +if (unlikely(idx == IO_MEM_RAM)) { > > +ram_addr_t raddr = /*mmio->base |*/ addr; > > +void *ptr = qemu_get_ram_ptr(raddr); > > ...and/or t

Re: [Qemu-devel] KVM call agenda for November 29

2011-11-29 Thread Anthony Liguori
On 11/28/2011 08:24 AM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. Few more items: - sandboxing/embedding dynamic languages Also a heads up about a couple series I've been waiting to send out for post 1.0: - QOM phase 1 (dynamic properties/st

[Qemu-devel] [PATCH] block: implement bdrv_co_is_allocated() boundary cases

2011-11-29 Thread Stefan Hajnoczi
Cases beyond the end of the disk image are only implemented for block drivers that do not provide .bdrv_co_is_allocated(). It's worth making these cases generic so that block drivers that do implement .bdrv_co_is_allocated() also get them for free. Suggested-by: Mark Wu Signed-off-by: Stefan Haj

Re: [Qemu-devel] windows guest virtio serial and balloon driver test issues

2011-11-29 Thread Vadim Rozenfeld
On Tue, 2011-11-29 at 10:43 +0800, Mark Wu wrote: > > Total physical memory on Windows will always be the same, > > because we don't hot-plug/unplug physical memory. > > Balloon driver works with non-paged pool memory instead. > > So, every time you inflate or deflate balloon in your system, > > yo

Re: [Qemu-devel] [PATCH] qed: limit to image size in qed_find_cluster()

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 5:01 AM, Mark Wu wrote: > On 11/29/2011 12:18 AM, Stefan Hajnoczi wrote: >> >> Callers of bdrv_is_allocated() may go beyond the end of the image.  For >> general robustness we should limit to the end of the image so that >> callers don't end up using out-of-range sector cou

Re: [Qemu-devel] KVM call agenda for November 29

2011-11-29 Thread Juan Quintela
Avi Kivity wrote: > On 11/28/2011 04:35 PM, Anthony Liguori wrote: >>> (somewhat related) memory API conversion queue merge plan >> >> >> No need to wait until tomorrow to discuss it, I guess. >> >> 1.1 will open up on Friday. I was going to make the suggestion that >> if anyone has more than 50

Re: [Qemu-devel] virtio-9p compiling error

2011-11-29 Thread M. Mohan Kumar
Could you please give your host information? Such as gcc version, distro version etc? I could compile in my Fedora 15 x86-64 system using gcc 4.6.0 -- Regards, M. Mohan Kumar On Tuesday, November 29, 2011 06:27:00 PM erik.r...@rdsoftware.de wrote: > Hi all, > > when compiling the 1.0-rc4 I get

Re: [Qemu-devel] [PATCH 4/9] virtio-9p: remove PCI dependencies from hw/9pfs/

2011-11-29 Thread Michael S. Tsirkin
On Tue, Nov 29, 2011 at 09:38:43AM +0100, Paolo Bonzini wrote: > On 11/28/2011 07:46 PM, Michael S. Tsirkin wrote: > >>> +#ifdef CONFIG_LINUX > >>> +static int virtio_9p_init_pci(PCIDevice *pci_dev) > >>> +{ > >>> +VirtIOPCIProxy *proxy = DO_UPCAST(VirtIOPCIProxy, pci_dev, pci_dev); > >>>

[Qemu-devel] [Bug 897193] Re: virtfs: kernel compile fails

2011-11-29 Thread M. Mohan Kumar
Hi Avishay, Are you running qemu as a normal user? In that case, could you please check whether normal user has rw access to the kernel source? Also could you please attach the output of strace scripts/kconfig/conf --silentoldconfig Kconfig ? -- You received this bug notification because you ar

[Qemu-devel] virtio-9p compiling error

2011-11-29 Thread erik . rull
Hi all, when compiling the 1.0-rc4 I get the following error. 0.14.0-kvm and 0.15.0-kvm were fine, I found no configure switch possibility to disable this code part. I really don't need it. Please help here: CClibhw64/9pfs/virtio-9p.o CClibhw64/9pfs/virtio-9p-local.o /home/erik/qemu

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 12:35 PM, Markus Armbruster wrote: > Stefan Hajnoczi writes: > > [...] >> So forget I said "self-describing" :).  I think the only changes from >> the v1 format we need are: >> >> 1. New magic number to mark v2 format. >> >> 2. Trace records are no longer fixed-length, the

Re: [Qemu-devel] [PATCH] exec.c: Fix subpage memory access to RAM MemoryRegion

2011-11-29 Thread Andreas Färber
Am 28.11.2011 16:06, schrieb Andreas Färber: > Commit 95c318f5e1f88d7e5bcc6deac17330fd4806a2d3 (Fix segfault in mmio subpage > handling code.) prevented a segfault by making all subpage registrations > over an existing memory page perform an unassigned access. Symptoms were > writes not taking effe

Re: [Qemu-devel] windows guest virtio serial and balloon driver test issues

2011-11-29 Thread Vadim Rozenfeld
On Tue, 2011-11-29 at 08:58 +0800, Cao,Bing Bu wrote: > Hi, > > Rozenfeld,Thanks,got it! > > And do you know whether there are some sufficient test tools (such > as IOmeter) > to test the virtio driver performance? IoMeter is good. But you also might be interested in SQLIOSim, da

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Markus Armbruster
Stefan Hajnoczi writes: [...] > So forget I said "self-describing" :). I think the only changes from > the v1 format we need are: > > 1. New magic number to mark v2 format. > > 2. Trace records are no longer fixed-length, they include a size field: > > typedef struct { > uint32_t length; /*

[Qemu-devel] Offres emplois pour vous

2011-11-29 Thread duloiscarole
Bonjour, des nouveaux offres emplois pour vous http://www.universfreeads.com/emplois.php ..

Re: [Qemu-devel] [PATCH v3] Support for UDP unicast network backend

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 7:55 PM, Benjamin wrote: > > Signed-off-by: Benjamin > --- >  net.c           |    6 - >  net/socket.c    |   73 +- >  qemu-options.hx |    2 + >  3 files changed, 78 insertions(+), 3 deletions(-) Reviewed-by: Stefan

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 11:34 AM, Stefan Hajnoczi wrote: > On Tue, Nov 29, 2011 at 8:29 AM, Harsh Bora wrote: >> Currently, Qemu provides an in-built "simple" trace backend which is simple >> and easy to use (no additional/external dependencies) and allows developers >> to trace events in Qemu co

[Qemu-devel] [PULL][1.1] Memory API conversions

2011-11-29 Thread Avi Kivity
Please pull from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/batch to receive the final batch of mmio conversions to the memory API (note that ioports still use the old API). While there may be a few regressions in there, it will be a lot easier to find them in the tree, and the

Re: [Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 8:29 AM, Harsh Bora wrote: > Currently, Qemu provides an in-built "simple" trace backend which is simple > and easy to use (no additional/external dependencies) and allows developers > to trace events in Qemu code, however, it suffers from limitations like > unability to tr

[Qemu-devel] [PATCH v3] Support for UDP unicast network backend

2011-11-29 Thread Benjamin
Signed-off-by: Benjamin --- net.c |6 - net/socket.c| 73 +- qemu-options.hx |2 + 3 files changed, 78 insertions(+), 3 deletions(-) diff --git a/net.c b/net.c index cb52050..8e957b2 100644 --- a/net.c +++ b/net.c @

Re: [Qemu-devel] [PATCH V3 2/2] Add -f option to qemu-nbd

2011-11-29 Thread Stefan Hajnoczi
On Fri, Nov 25, 2011 at 10:19 AM, Chunyan Liu wrote: > > > 2011/11/24 Stefan Hajnoczi >> >> On Thu, Nov 24, 2011 at 3:38 AM, Chunyan Liu wrote: >> > >> > >> > 2011/11/23 Stefan Hajnoczi >> >> >> >> On Wed, Nov 23, 2011 at 10:14 AM, Chunyan Liu wrote: >> >> > V3: >> >> > Remove file lock in mai

Re: [Qemu-devel] [PATCH v2] Support for UDP unicast network backend

2011-11-29 Thread Benjamin
On 11/29/11 18:47, Stefan Hajnoczi wrote: On Tue, Nov 29, 2011 at 5:29 PM, Benjamin wrote: On 11/28/11 20:39, Stefan Hajnoczi wrote: On Fri, Nov 25, 2011 at 12:49 PM, Benjaminwrote: +fd = qemu_socket(PF_INET, SOCK_DGRAM, 0); +if (fd<0) { +perror("socket(PF_INET, SOCK

Re: [Qemu-devel] When is the trace_dev_write() called?

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 10:11 AM, Vikram Bhatt wrote: > I set a breakpoint on trace_dev_write() but the back-trace I see in gdb is > something like this: > #0  trace_dev_write () > #1  0x081488fe in io_writel () > #2  0x081487aa in __stl_mmu () > #3  0xf5e4e107 in ?? () > #4  0x0001 in ?? () >

Re: [Qemu-devel] [PATCH 1/2 v2] fix typo: delete redundant semicolon

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 04:52:38PM +0800, Dong Xu Wang wrote: > From: Dong Xu Wang > > Double semicolons should be single. > > Signed-off-by: Dong Xu Wang > --- > block/nbd.c|4 ++-- > cpus.c |2 +- > hw/9pfs/codir.c|6 +++--- > hw/9p

[Qemu-devel] When is the trace_dev_write() called?

2011-11-29 Thread Vikram Bhatt
Hi, I set a breakpoint on trace_dev_write() but the back-trace I see in gdb is something like this: #0 trace_dev_write () #1 0x081488fe in io_writel () #2 0x081487aa in __stl_mmu () #3 0xf5e4e107 in ?? () #4 0x0001 in ?? () #5 0x in ?? () Which is not very helpful. Does anyone k

[Qemu-devel] problem in setting up vmchannel with libvirt

2011-11-29 Thread will
Hi, I am trying to set up vmchannel between the host and guest os. However, "sudo virsh start vm1" always gave me this error: * error: Failed to start domain vm1 error: internal error Process exited while reading console log output: char

Re: [Qemu-devel] [PATCH] exec.c: Fix subpage memory access to RAM MemoryRegion

2011-11-29 Thread Avi Kivity
On 11/29/2011 12:39 AM, Andreas Färber wrote: > Am 28.11.2011 18:17, schrieb Avi Kivity: > > On 11/28/2011 05:06 PM, Andreas Färber wrote: > >> Commit 95c318f5e1f88d7e5bcc6deac17330fd4806a2d3 (Fix segfault in mmio > >> subpage > >> handling code.) prevented a segfault by making all subpage registr

Re: [Qemu-devel] [PATCH] ccid: Fix buffer overrun in handling of VSC_ATR message

2011-11-29 Thread Markus Armbruster
Alon Levy writes: > On Mon, Nov 28, 2011 at 08:27:37PM +0100, Markus Armbruster wrote: >> ATR size exceeding the limit is diagnosed, but then we merrily use it >> anyway, overrunning card->atr[]. >> >> The message is read from a character device. Obvious security >> implications unless the othe

Re: [Qemu-devel] [PATCH v2] Support for UDP unicast network backend

2011-11-29 Thread Stefan Hajnoczi
On Tue, Nov 29, 2011 at 5:29 PM, Benjamin wrote: > On 11/28/11 20:39, Stefan Hajnoczi wrote: >> >> On Fri, Nov 25, 2011 at 12:49 PM, Benjamin  wrote: >>> >>> +    fd = qemu_socket(PF_INET, SOCK_DGRAM, 0); >>> +    if (fd<  0) { >>> +        perror("socket(PF_INET, SOCK_DGRAM)"); >>> +        retur

Re: [Qemu-devel] [PATCH 1.0] 9pfs: improve portability to older systems

2011-11-29 Thread Aneesh Kumar K.V
On Mon, 28 Nov 2011 16:36:18 -0600, Anthony Liguori wrote: > On 11/23/2011 12:16 AM, Aneesh Kumar K.V wrote: > > On Mon, 21 Nov 2011 09:29:11 +0100, Paolo Bonzini > > wrote: > >> Small requirements on "new" features have percolated to virtio-9p-local.c. > >> In particular, the utimensat wrapper

[Qemu-devel] [PATCH] hw/9pfs: Improve portability to older systems

2011-11-29 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" commit ae0f940e6b4f5177892dd6a12762282fa9089972 2507718baf311ea78156c6777d38410a9f89ce89 missed updating virtio-9p-handle.c. Signed-off-by: Aneesh Kumar K.V --- hw/9pfs/virtio-9p-handle.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/hw/

Re: [Qemu-devel] [PATCH v8 0/2] PC system flash support

2011-11-29 Thread Avi Kivity
On 11/29/2011 09:03 AM, Jordan Justen wrote: > On Mon, Nov 28, 2011 at 02:28, Avi Kivity wrote: > > On 11/28/2011 04:26 AM, Jordan Justen wrote: > >> Enable flash emulation in a PC system using pflash_cfi01. > > > > The new memory layout should be made conditional on the machine type (-M > > pc-1.

Re: [Qemu-devel] [PATCH] ccid: Fix buffer overrun in handling of VSC_ATR message

2011-11-29 Thread Alon Levy
On Mon, Nov 28, 2011 at 08:27:37PM +0100, Markus Armbruster wrote: > ATR size exceeding the limit is diagnosed, but then we merrily use it > anyway, overrunning card->atr[]. > > The message is read from a character device. Obvious security > implications unless the other end of the character devi

Re: [Qemu-devel] Status of the SH4 / ARM7 emulators

2011-11-29 Thread Tristan Gingold
On Nov 24, 2011, at 11:44 AM, Andreas Färber wrote: > Am 23.11.2011 22:59, schrieb Richard Henderson: >> On 11/20/2011 12:51 PM, Andreas Färber wrote: >>> * Part of the problem is that common CPUState fields are not at the >>> start of the struct. I have therefore been playing with a >>> CPU_COMM

[Qemu-devel] [PATCH 2/2 v2] fix spelling in hw sub directory

2011-11-29 Thread Dong Xu Wang
From: Dong Xu Wang Correct obvious spelling errors in qemu/hw direcotry. Signed-off-by: Dong Xu Wang --- hw/9pfs/virtio-9p-coth.h |2 +- hw/9pfs/virtio-9p-handle.c |2 +- hw/alpha_dp264.c |2 +- hw/arm_gic.c |2 +- hw/bt-hci-csr.c|2 +-

[Qemu-devel] [PATCH 1/2 v2] fix typo: delete redundant semicolon

2011-11-29 Thread Dong Xu Wang
From: Dong Xu Wang Double semicolons should be single. Signed-off-by: Dong Xu Wang --- block/nbd.c|4 ++-- cpus.c |2 +- hw/9pfs/codir.c|6 +++--- hw/9pfs/virtio-9p-handle.c |2 +- hw/9pfs/virtio-9p.c|4 ++-- hw/acpi.c

Re: [Qemu-devel] [PATCH 1.0] 9pfs: improve portability to older systems

2011-11-29 Thread Paolo Bonzini
On 11/28/2011 11:36 PM, Anthony Liguori wrote: Hrm, I may have messed this up. My mailbox processing script seems to have found Aneesh's patch instead of Paolo's. Can ya'll take a look at 2507718baf311ea78156c6777d38410a9f89ce89 and tell me if I need to revert it? No, qemu.git master is fi

Re: [Qemu-devel] [PATCH 4/9] virtio-9p: remove PCI dependencies from hw/9pfs/

2011-11-29 Thread Paolo Bonzini
On 11/28/2011 07:46 PM, Michael S. Tsirkin wrote: > +#ifdef CONFIG_LINUX > +static int virtio_9p_init_pci(PCIDevice *pci_dev) > +{ > +VirtIOPCIProxy *proxy = DO_UPCAST(VirtIOPCIProxy, pci_dev, pci_dev); > +VirtIODevice *vdev; > + > +vdev = virtio_9p_init(&pci_dev->qdev,&proxy->

Re: [Qemu-devel] [PATCH v8 1.0] configure: build position independent executables on x86-Linux hosts

2011-11-29 Thread Brad Smith
On 20/11/11 12:34 PM, Blue Swirl wrote: On Sun, Nov 20, 2011 at 09:11, Avi Kivity wrote: On 11/15/2011 08:12 PM, Avi Kivity wrote: Change the default on x86 Linux hosts to building PIE (position independent executables); instead of restricting the option to user-only targets, apply it to all t

Re: [Qemu-devel] [PATCH v2] Support for UDP unicast network backend

2011-11-29 Thread Benjamin
On 11/28/11 20:39, Stefan Hajnoczi wrote: On Fri, Nov 25, 2011 at 12:49 PM, Benjamin wrote: +fd = qemu_socket(PF_INET, SOCK_DGRAM, 0); +if (fd< 0) { +perror("socket(PF_INET, SOCK_DGRAM)"); +return -1; +} +val = 1; +ret = setsockopt(fd, SOL_SOCKET, SO_REUSEAD

[Qemu-devel] RFC: Design Doc for a new trace format (to support variable number/size of args per event) simpletrace-v2

2011-11-29 Thread Harsh Bora
Currently, Qemu provides an in-built "simple" trace backend which is simple and easy to use (no additional/external dependencies) and allows developers to trace events in Qemu code, however, it suffers from limitations like unability to trace more than 6 elements per trace event, lack of string

[Qemu-devel] [PATCH] kvm-ppc: halt secondary cpus when guest reset

2011-11-29 Thread Liu Yu
When guest reset, we need to halt secondary cpus until guest kick them. This already works for tcg. The patch add the support for kvm. For kvm, if use in-kernel mpic, it should not be halted. In this case, we pause the sencondaries instead. This has impact to handling of halt exit, but fortunately

[Qemu-devel] Haster / Detaljer

2011-11-29 Thread 0nk_...@snsbank.nl
- This mail is in HTML. Some elements may be ommited in plain text. - Jeg jobbet med SNS Bank i Holland.I am kontakte deg på grunn av din avdøde slektning konto i vår bank. Vennligst sender meg en epost med et telefonnummer og også indikerer den beste tiden at jeg kan ringe deg på telefonen. De