[Qemu-devel] [Bug 646427] Re: VirtFS mapped symlinks resolved wrong

2010-09-24 Thread Moshroum
Why not using simple symlinks on the host with xattr like on normal files instead of those hacks which either don't work on client or don't work on the host? -- VirtFS mapped symlinks resolved wrong https://bugs.launchpad.net/bugs/646427 You received this bug notification because you are a member

[Qemu-devel] [RESEND] Re: Introduce a new 'connected' xendev op called when Connected.

2010-09-24 Thread John Haxby
[The first time I sent this I didn't get a copy on qemu-devel which I was expecting. Sorry if this is actually a duplicate. I think I must be missing something. On 27th August, Stefano posted two messages whose subjects were [PATCH 1 of 2] Introduce a new 'connected' xendev op called when

Re: [Qemu-devel] [PATCH 1/7] qcow2: Make get_bits_from_size() common

2010-09-24 Thread Stefan Hajnoczi
On Fri, Sep 24, 2010 at 01:50:39AM +0400, malc wrote: > On Thu, 23 Sep 2010, Stefan Hajnoczi wrote: > > > The get_bits_from_size() calculates the log base-2 of a number. This is > > useful in bit manipulation code working with power-of-2s. > > > > Currently used by qcow2 and needed by qed in a f

[Qemu-devel] [Bug 646427] Re: VirtFS mapped symlinks resolved wrong

2010-09-24 Thread Moshroum
And maybe you should use lsetxattr and lgetxattr instead of the symlink resolving versions setxattr and getxattr -- VirtFS mapped symlinks resolved wrong https://bugs.launchpad.net/bugs/646427 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QE

Re: [Qemu-devel] [PATCH] virtio-net: Don't pass NULL peer to tap routines

2010-09-24 Thread Markus Armbruster
Alex Williamson writes: > On Thu, 2010-09-23 at 12:43 -0500, Anthony Liguori wrote: >> On 09/22/2010 02:52 PM, Alex Williamson wrote: >> > During a hotplug, the netdev might be removed before the unplug? >> > connected virtio device. When this happens, the guest might >> > be running cleanup o

Re: [Qemu-devel] [PATCH] CMOS file support

2010-09-24 Thread Markus Armbruster
Mathias Krause writes: > Hi Kevin, > > On 17.09.2010 12:44, Kevin Wolf wrote: >> Hi Mathias, >> >> Am 17.09.2010 08:42, schrieb Mathias Krause: Using QEMU's block devices instead of a simple file would be more consistent with the rest of QEMU and allow reading the CMOS data not on

Re: [Qemu-devel] [PATCH] CMOS file support

2010-09-24 Thread Markus Armbruster
Anthony Liguori writes: > On 09/16/2010 08:58 AM, Mathias Krause wrote: >> In contrast to the BIOS and Option ROMs the CMOS content cannot be >> predefined by the user. Also the amount of useable CMOS ARM is pretty >> limited, even though the amount of CMOS bytes emulated by qemu is >> already tw

Re: [Qemu-devel] [PATCH] CMOS file support

2010-09-24 Thread Markus Armbruster
Mathias Krause writes: > On 17.09.2010 15:27, Anthony Liguori wrote: >> On 09/17/2010 01:50 AM, Mathias Krause wrote: >>> Am 16.09.2010 19:20 schrieb Anthony Liguori: >>> Instead of using FILE, I'd suggest using a BlockDriver to read and write the data. >>> I'll fix that a

[Qemu-devel] Re: [PATCH 1/7] qcow2: Make get_bits_from_size() common

2010-09-24 Thread Paolo Bonzini
On 09/24/2010 10:37 AM, Stefan Hajnoczi wrote: On Fri, Sep 24, 2010 at 01:50:39AM +0400, malc wrote: On Thu, 23 Sep 2010, Stefan Hajnoczi wrote: The get_bits_from_size() calculates the log base-2 of a number. This is useful in bit manipulation code working with power-of-2s. Currently used by

Re: [Qemu-devel] [PATCH] virtio-net: Don't pass NULL peer to tap routines

2010-09-24 Thread Alex Williamson
On Fri, 2010-09-24 at 11:31 +0200, Markus Armbruster wrote: > Alex Williamson writes: > > > On Thu, 2010-09-23 at 12:43 -0500, Anthony Liguori wrote: > >> On 09/22/2010 02:52 PM, Alex Williamson wrote: > >> > During a hotplug, the netdev might be removed before the > > unplug? yep > >> > conne

Re: [Qemu-devel] Re: [PATCH 1/7] qcow2: Make get_bits_from_size() common

2010-09-24 Thread Stefan Hajnoczi
On Fri, Sep 24, 2010 at 1:56 PM, Paolo Bonzini wrote: > On 09/24/2010 10:37 AM, Stefan Hajnoczi wrote: >> >> On Fri, Sep 24, 2010 at 01:50:39AM +0400, malc wrote: >>> >>> On Thu, 23 Sep 2010, Stefan Hajnoczi wrote: >>> The get_bits_from_size() calculates the log base-2 of a number.  This is >

[Qemu-devel] [PATCH] Watchdog: disable watchdog timer when hard-rebooting a guest.

2010-09-24 Thread Richard W.M. Jones
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top >From e3832105c372f59cce9058b48fbde229af89c518

[Qemu-devel] [Bug 646427] Re: VirtFS mapped symlinks resolved wrong

2010-09-24 Thread Venkateswararao Jujjuri (JV)
Responding to multiple issues raised above. - Let us track this bug for the security/symlink issue and open a different defect for the mount issue. - I tried to reproduce this defect with the QEMU mainline. I don't see the problem. More description on the environment (Host OS/Guest OS/ QEMU co

[Qemu-devel] [PATCH] Don't exit with zero in the trap handler

2010-09-24 Thread Loïc Minier
When configure runs "exit 1", the trap handler is run to cleanup any files created by configure, but this trap handler itself calls "exit" with no argument (which means zero exit code): [...] + echo Error: zlib check failed Error: zlib check failed + echo Make sure to have the zlib libs and headers

Re: [Qemu-devel] Re: [PATCH v7] Introduce qemu_madvise()

2010-09-24 Thread Andreas Färber
Am 20.09.2010 um 22:33 schrieb Blue Swirl: On Sun, Sep 19, 2010 at 10:11 AM, Andreas Färber > wrote: From: Andreas Färber vl.c has a Sun-specific hack to supply a prototype for madvise(), but the call site has apparently moved to arch_init.c. Haiku doesn't implement madvise() in favor of posi

[Qemu-devel] [PULL] Missing patches in qemu master

2010-09-24 Thread Stefan Weil
Hello Anthony, could you please pull some patches which had been sent to qemu-devel some time ago? See these links: http://patchwork.ozlabs.org/patch/59044/ http://patchwork.ozlabs.org/patch/60469/ http://patchwork.ozlabs.org/patch/61150/ http://patchwork.ozlabs.org/patch/64624/ The original su

[Qemu-devel] [PATCH] block: Use GCC_FMT_ATTR and fix a format error

2010-09-24 Thread Stefan Weil
Adding the gcc format attribute detects a format bug which is fixed here. v2: Don't use type cast. BDRV_SECTOR_SIZE is unsigned long long, so %lld should be the correct format specifier. Cc: Blue Swirl Cc: Kevin Wolf Signed-off-by: Stefan Weil --- block/blkverify.c |5 +++-- 1 files chang

[Qemu-devel] [Bug 498035] Re: qemu hangs on shutdown or reboot (XP guest)

2010-09-24 Thread Bryce Nesbitt
Also happens in Ubunto 10.04LTS Linux bnesbitt-desktop 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 GNU/Linux -- qemu hangs on shutdown or reboot (XP guest) https://bugs.launchpad.net/bugs/498035 You received this bug notification because you are a member of qemu- devel-ml

[Qemu-devel] Re: [PATCH 0/2] powerpc: Improve BookE emulation (v2)

2010-09-24 Thread Edgar E. Iglesias
On Mon, Sep 20, 2010 at 07:30:38PM +0200, Edgar E. Iglesias wrote: > Improve BookE emulation in preparation for virtex 5 support. > Once this is OK, the Xilinx specific parts will follow. > > Cheers, > Edgar Pushed. > v2: > * Fix MMU emulation details and other comments from A. Graf. > > Edgar

[Qemu-devel] Re: [PATCH 4/4] powerpc: Add a virtex5 ml507 refdesign board

2010-09-24 Thread Edgar E. Iglesias
On Mon, Sep 20, 2010 at 12:53:42PM +0200, Alexander Graf wrote: > Edgar E. Iglesias wrote: > > Signed-off-by: Edgar E. Iglesias > > --- > > Makefile.target|8 + > > default-configs/ppc-softmmu.mak|2 + > > default-configs/ppc64-softmmu.mak |2 + > > default-co

[Qemu-devel] [Bug 646427] Re: VirtFS mapped symlinks resolved wrong

2010-09-24 Thread Moshroum
Host OS is Debian sid/experimental amd64 with 2.6.32-5-amd64 (2.6.32-23). qemu-kvm version can be found above. As said before the symlink were created outside the vm and then tried to access inside the vm. So I have to use passthrough in host/client shared folders... which means I have to run kvm

[Qemu-devel] [Bug 646427] Re: VirtFS mapped symlinks resolved wrong

2010-09-24 Thread Moshroum
But mapped is also really confusing. Everything inside the vm: $ id uid=0(root) gid=0(root) groups=0(root) $ touch newfile $ -rw-r--r-- 1 root 1000 0 Sep 24 20:39 newfile So the gid is not set correctly. On thhe host: % xattr newfile user.virtfs.uid user.virtfs.mode I started it using: % /usr/l

TR : RE : [Qemu-devel] Re: Win2k host problem with {get, free}{addr, name}info()

2010-09-24 Thread Bastien ROUCARIES
Forget cc -- Message transféré -- De : "Bastien ROUCARIES" Date : 24 sept. 2010 23:21 Objet : RE : [Qemu-devel] Re: Win2k host problem with {get, free}{addr, name}info() À : "Blue Swirl" If you see a recent thread on the gnulib mailling list, you will show that gnulib could be c

[Qemu-devel] [PATCH] Some tweaks to make some features only built-in when necessary

2010-09-24 Thread Brian Jackson
In trying to make the qemu binary size smaller, I've come across some things that can be left out of the binary without affecting the binary working. I've got more patches in the pipeline but the more I try to take out, the more invasive the patch. These are pretty simple to get started. Binary sa

[Qemu-devel] [PATCH] i386 debugging stubs: Consider segment bases

2010-09-24 Thread Eddie Kohler
Hi, QEMU has a bug that complicates GDB debugging of i386 targets when the current code or data segment has a nonzero base. A fix is attached. If the current code segment has a nonzero base, breakpoints don't work as expected, because the breakpoint detector does not consider segment bases. If

[Qemu-devel] Re: [PATCH 0/4] cpu model corrections/updates

2010-09-24 Thread john cooper
Any idea where in the queue this patch set may be? -john john cooper wrote: > This series is a synopsis of several patches correcting > problems found during use and test of the cpu model config > definitions, and usability in general. > > Please review and apply. > > -john > -- john.coo...

Re: [Qemu-devel] [PATCH] Don't exit with zero in the trap handler

2010-09-24 Thread Markus Armbruster
Loïc Minier writes: > When configure runs "exit 1", the trap handler is run to cleanup any > files created by configure, but this trap handler itself calls "exit" > with no argument (which means zero exit code): > [...] > + echo Error: zlib check failed > Error: zlib check failed > + echo Make su