[Qemu-devel] [Bug 589564] Re: Windows host tap (tap-win32) is not working on QEMU ver 0.12.X

2010-06-27 Thread kpk...@telit.com
I also had the same problem with 0.12.x version. BTW, I slightly changed source code to avoid this problem. Here is what I did for this below. I haven't taken analysis of this operation details so my apporach may not be the right solution. (Sorry for that). Anyway, refer to my comment (delete

[Qemu-devel] [PATCH] device-assignment: Rework "name" of assigned pci device

2010-06-27 Thread Hidetoshi Seto
"Hao, Xudong" writes: > > When assign one PCI device, qemu fail to parse the command line: > > qemu-system_x86 -smp 2 -m 1024 -hda /path/to/img -pcidevice host=00:19.0 > > Error: > > qemu-system-x86_64: Parameter 'id' expects an identifier > > Identifiers consist of letters, digits, '-', '.', '_',

[Qemu-devel] [PATCH] Update .gitignore

2010-06-27 Thread Hidetoshi Seto
Add some files/directories to .gitignore - vapic.bin A generated binary file - libdis/ and libdis-user/ Directories generated in ./configure - QMP/qmp-commands.txt A generated text - qemu-options.def A generated file used as a source of qemu-options.h Signed-off-by

Re: [Qemu-devel] Re: [PATCH] win32: Add missing function ffs

2010-06-27 Thread Blue Swirl
Thanks, applied. On Thu, Jun 24, 2010 at 8:50 PM, Stefan Weil wrote: > Am 12.06.2010 16:07, schrieb Stefan Weil: >> >> mingw32 does not include function ffs. >> >> Commit c6d29ad6e24533cc3762e1d654275607e1d03058 added a >> declaration for ffs, but an implementation was missing. >> >> For compilat

Re: [Qemu-devel] [PATCH] win32: Add define for missing EPROTONOSUPPORT

2010-06-27 Thread Blue Swirl
Thanks, applied. On Thu, Jun 24, 2010 at 8:41 PM, Stefan Weil wrote: > mingw32 does not define EPROTONOSUPPORT (which is used by > migration.c and maybe future patches), so add a > definition which uses a supported errno value. > > Signed-off-by: Stefan Weil > --- >  qemu-os-win32.h |    4

Re: [Qemu-devel] [PATCH] .gitignore: Ignore libdis*, qemu-options.def

2010-06-27 Thread Blue Swirl
Thanks, applied. On Thu, Jun 24, 2010 at 8:31 PM, Stefan Weil wrote: > libdis, libdis-user and qemu-options.def are generated > directories / files and should be ignored by git. > > Signed-off-by: Stefan Weil > --- >  .gitignore |    2 ++ >  1 files changed, 2 insertions(+), 0 deletions(-) > > d

[Qemu-devel] Re: [PATCH] x86: Clean up CPU reset

2010-06-27 Thread Blue Swirl
Thanks, applied. On Wed, Jun 23, 2010 at 6:20 AM, Jan Kiszka wrote: > From: Jan Kiszka > > Signed-off-by: Jan Kiszka > --- >  hw/pc.c |   22 -- >  1 files changed, 4 insertions(+), 18 deletions(-) > > diff --git a/hw/pc.c b/hw/pc.c > index 1848151..8b9e70a 100644 > --- a/hw/

[Qemu-devel] Re: [PATCH] x86: Fix INIT processing

2010-06-27 Thread Blue Swirl
Thanks, applied. On Wed, Jun 23, 2010 at 6:19 AM, Jan Kiszka wrote: > From: Jan Kiszka > > This fixes a regression of 0e26b7b892: Reset halted also on INIT. > > Signed-off-by: Jan Kiszka > --- >  target-i386/helper.c |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/

[Qemu-devel] Re: [PATCH] [sparc32] mask all interrupts when MASTER_DISABLE is set

2010-06-27 Thread Blue Swirl
Thanks, applied. On Mon, Jun 21, 2010 at 6:23 PM, Artyom Tarasenko wrote: > The MASTER_DISABLE bit (aka mask-all) masks all the interrupts. > > According to Sun-4M System Architecture > "The level–15 interrupt sources [...] are maskable with the Interrupt Target > Mask Register. While these inter

Re: [Qemu-devel] [PATCH 0/7] poison TARGET_xxx for compile once object and header file cleanups

2010-06-27 Thread Blue Swirl
On Fri, Jun 25, 2010 at 12:52 PM, Paolo Bonzini wrote: > This is a different way to achieve the same objective as Isamu's patch. > Basically, his patch becomes the (much simpler) patch 7 of this series, > and everything else is something I had had lying around for a while. :) > > Patch 1 is simply

Re: [Qemu-devel] [PATCH 4/7] provide opaque CPUState to files that are compiled once

2010-06-27 Thread Blue Swirl
On Fri, Jun 25, 2010 at 12:52 PM, Paolo Bonzini wrote: > This patch unpoisons CPUState and env in once-compiled files. > To achieve this, it defines an opaque struct CPUState in cpu-common.h. > This also requires tweaking the relationship between CPUState and > CPUXYZState in target files. > > Unp

Re: [Qemu-devel] [PATCH 5/7] add qdev property type "cpu"

2010-06-27 Thread Blue Swirl
On Fri, Jun 25, 2010 at 12:52 PM, Paolo Bonzini wrote: > Signed-off-by: Paolo Bonzini > --- >  cpus.c               |   16 >  cpus.h               |    2 ++ >  hw/qdev-properties.c |   44 >  hw/qdev.h            |    5 + >  4 files

Re: [Qemu-devel] qemu-system-sparc singlestep not work in gdbstub

2010-06-27 Thread Blue Swirl
2010/6/21 Vitaliy Vorobyov : > Debugging with gdb-stub does not work with qemu-system-sparc target > > Qemu compiled from current git tree. > > execution string: qemu-system-sparc.exe -s -S -m 256 -L Bios -hda > sparc.img -boot c > connect with telnet localhost 1234 > enter '$s#73' (without quotes,

[Qemu-devel] Re: [PATCH 5/7] add qdev property type "cpu"

2010-06-27 Thread Paolo Bonzini
Hmm. Parse method doesn't accept output of the print method. Not so nice. Is the "CPU #" decoration essential? I noticed the same in parse/print string: static int parse_string(DeviceState *dev, Property *prop, const char *str) { char **ptr = qdev_get_prop_ptr(dev, prop); if (*ptr)

[Qemu-devel] Italia Agevolazioni

2010-06-27 Thread Italia on-line
  Italia Agevolazioni on-line Novità: Prestito Ipotecario Vitalizio: prendi i soldi e non li rendi (Nazionale )  ( Visualizza ) Aziende in crisi: gestione dei debiti e rilancio dell'attività ( Nazionale )   ( Visualizza ) Finanziamenti aziendali garantiti dal fondo di garanzia statale ( Nazion

[Qemu-devel] Re: [PATCH 0/7] poison TARGET_xxx for compile once object and header file cleanups

2010-06-27 Thread Paolo Bonzini
On 06/26/2010 12:47 AM, Richard Henderson wrote: Although I would personally prefer an additional patch that removes the define silliness that patch 4 works around. Sure---I just wanted to avoid getting lost in conflicts until the first part is approved. Paolo

[Qemu-devel] Re: [PATCH 0/8] Fix various IO-thread breakages

2010-06-27 Thread Paolo Bonzini
On 06/25/2010 04:56 PM, Jan Kiszka wrote: This series unbreaks -smp>1 and guest debugging in CONFIG_IOTHREAD mode. I still find the SMP scheduling in cpu_exec_all suboptimal, but at least it works now. Dependencies are: http://thread.gmane.org/gmane.comp.emulators.kvm.devel/52718 (kvm queue) htt

[Qemu-devel] Re: [Bug 585113] Re: e1000 irq problems after live migration with qemu-kvm 0.12.4

2010-06-27 Thread Michael S. Tsirkin
On Thu, Jun 03, 2010 at 08:33:53AM -, Michael Tokarev wrote: > Please note that this bug affects 0.12 stable as well. It'd be really > nice to know the commit which fixed the issue, in order to backport it > to -stable... c3f8f61157625d0bb5bfc135047573de48fdc675 > -- > e1000 irq problems af

Re: [Qemu-devel] Re: [PATCH 04/12] blockdev: New drive_of_blockdev()

2010-06-27 Thread Christoph Hellwig
On Sat, Jun 26, 2010 at 04:46:28PM +0200, Markus Armbruster wrote: > drive_get_by_id() gets removed by 07/12. But there's still drive_get(). > > drive_get_by_blockdev()? blockdev_to_drive()? Oh well, just keep any name - it's not that important aftet all.

Re: [Qemu-devel] Re: [PATCH 08/12] block: Catch attempt to attach multiple devices to a blockdev

2010-06-27 Thread Christoph Hellwig
On Sat, Jun 26, 2010 at 04:44:11PM +0200, Markus Armbruster wrote: > Valid question. I'd answer yes. It's an easy error to make, and likely > to end in massive file system corruption in the guest. I suspect a modern distro in the guest will detect it as a multi-path setup. > > Can anyone explai

[Qemu-devel] Re: Unusual physical address when using 64-bit BAR

2010-06-27 Thread Avi Kivity
On 06/25/2010 12:51 AM, Cam Macdonell wrote: On Tue, Jun 15, 2010 at 5:04 AM, Avi Kivity wrote: On 06/11/2010 08:31 PM, Cam Macdonell wrote: On Mon, Apr 19, 2010 at 10:41 AM, Cam Macdonell wrote: Hi, I'm trying to use a 64-bit BAR for my shared memory device. In simply