Re: [Qemu-devel] Failure to compile latest git (target-i386/kvm.c:953:29: error: variable ‘fop’ set but not used)

2011-04-24 Thread Avi Kivity
On 04/21/2011 06:43 PM, Jan Kiszka wrote: On 2011-04-21 16:10, Yaniv Kaul wrote: > Fedora 15beta/x64, latest git: > [ykaul@ykaul qemu]$ make >CCx86_64-softmmu/kvm.o > /home/ykaul/qemu/target-i386/kvm.c: In function ‘kvm_get_xsave’: > /home/ykaul/qemu/target-i386/kvm.c:953:29: error: v

[Qemu-devel] [PATCH] doc: fix slirp description

2011-04-24 Thread Brad Hards
net/slirp.c says: /* default settings according to historic slirp */ struct in_addr net = { .s_addr = htonl(0x0a000200) }; /* 10.0.2.0 */ struct in_addr mask = { .s_addr = htonl(0xff00) }; /* 255.255.255.0 */ struct in_addr host = { .s_addr = htonl(0x0a000202) }; /* 10.0.2.2 */

[Qemu-devel] [Bug 739785] Re: qemu-i386 user mode on ARMv5 host fails (bash: fork: Invalid argument)

2011-04-24 Thread Peter Maydell
I'm afraid not, no. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/739785 Title: qemu-i386 user mode on ARMv5 host fails (bash: fork: Invalid argument) Status in QEMU: New Bug description: Goo

Re: [Qemu-devel] What's the difference between commands "qemu", "kvm", and "qemu-kvm"?

2011-04-24 Thread Stefan Hajnoczi
On Sun, Apr 24, 2011 at 12:38 AM, Ryan Wang wrote: > I read some writings on the qemu, and found some demo examples use the > command qemu, some use kvm, and some mention the qemu-kvm? > > I wonder are there any difference between these commands? Or they just > point to the same executable with di

Re: [Qemu-devel] [PATCH v2 10/11] trace-state: [stderr] add support for dynamically enabling/disabling events

2011-04-24 Thread Stefan Hajnoczi
On Sun, Apr 24, 2011 at 7:24 AM, Paolo Bonzini wrote: > On 04/23/2011 04:31 PM, Stefan Hajnoczi wrote: >> >> For tracing use cases that require performance or runtime >> enabling/disabling trace events, just use the simple, ust, or dtrace >> backends. > > Having -trace events for the stderr backen

Re: [Qemu-devel] [PATCH] doc: fix slirp description

2011-04-24 Thread Stefan Hajnoczi
On Sun, Apr 24, 2011 at 8:19 AM, Brad Hards wrote: > net/slirp.c says: >    /* default settings according to historic slirp */ >    struct in_addr net  = { .s_addr = htonl(0x0a000200) }; /* 10.0.2.0 */ >    struct in_addr mask = { .s_addr = htonl(0xff00) }; /* 255.255.255.0 */ >    struct in_a

[Qemu-devel] [PATCH] target-arm: fix LDMIA bug on page boundary

2011-04-24 Thread 오유연
When consecutive memory locations are on page boundary, a base register may be loaded before page fault occurs. After page fault handling, it losts the memory location information. To solve this problem, loading a base register has to put back. Signed-off-by: Yuyeon Oh --- target-arm/translate.

Re: [Qemu-devel] [PATCH] target-arm: fix LDMIA bug on page boundary

2011-04-24 Thread Peter Maydell
2011/4/24 오유연 : > When consecutive memory locations are on page boundary, a base register may be > loaded before page fault occurs. After page fault handling, it losts the > memory > location information. To solve this problem, loading a base register has to > put back. Thanks for finding this.

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-04-24 Thread Boris Derzhavets
Packages from "ppa:serge-hallyn/spice" have been installed on Ubuntu 11.04 Beta 2. Bug with " -vga qxl" is still in place :- root@NattyNarwhal:/usr/tmp# /usr/bin/kvm-spice -cpu host -enable-kvm -name VF14 -m 2048 \ > -drive file=/usr/tmp/disk.qcow2,if=virtio,media=disk,aio=native \ > -net nic

[Qemu-devel] [PATCH] qed: Fix consistency check on 32-bit hosts

2011-04-24 Thread Stefan Hajnoczi
The qed_bytes_to_clusters() function is normally used with size_t lengths. Consistency check used it with file size length and therefore failed on 32-bit hosts when the image file is 4 GB or more. Make qed_bytes_to_clusters() explicitly 64-bit and update consistency check to keep 64-bit cluster c

[Qemu-devel] [Bug 769986] [NEW] Binaries installed via ppa:serge-hallyn/spice still are affected by bug 723871

2011-04-24 Thread Boris Derzhavets
Public bug reported: Packages from "ppa:serge-hallyn/spice" have been installed on Ubuntu 11.04 Beta 2. Bug with " -vga qxl" is still in place :- root@NattyNarwhal:/usr/tmp# /usr/bin/kvm-spice -cpu host -enable-kvm -name VF14 -m 2048 \ > -drive file=/usr/tmp/disk.qcow2,if=virtio,media=disk,aio=n

[Qemu-devel] virtfs error reporting?

2011-04-24 Thread Rob Landley
So on the host side I'm trying to do this: $ qemu -cpu pentium3 -nographic -no-reboot -kernel bzImage \ -hda hda.sqf -append 'root=/dev/hda rw init=/sbin/init.sh panic=1 \ PATH=/bin:/sbin console=ttyS0 HOST=i686 ' -net nic,model=e1000 \ -net user -virtfs local,path=../root-filesystem-i686,s

Re: [Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-04-24 Thread Serge Hallyn
Quoting Boris Derzhavets (723...@bugs.launchpad.net): > Packages from "ppa:serge-hallyn/spice" have been installed on Ubuntu > 11.04 Beta 2. Bug with " -vga qxl" is still in place :- Hi, thanks for reporting this bug. We have decided not to proceed with that ppa, but rather to take the qemu-kv

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-04-24 Thread David Rando
Looking forward to it. Thanks!!! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/723871 Title: qemu-kvm-0.14.0 Aborts with -vga qxl Status in QEMU: Confirmed Status in “qemu-kvm” package in Ubunt

Re: [Qemu-devel] [PATCH 4/4] usb: use DPRINTF instead of printf for some simple cases

2011-04-24 Thread Brad Hards
On Thursday 14 April 2011 08:01:43 Brad Hards wrote: > On Wed, 13 Apr 2011 10:52:37 pm Hans de Goede wrote: > > > @@ -359,7 +359,7 @@ static int usb_host_claim_interfaces(USBHostDevice > > > *dev, int configuration) > > > > > > ret = ioctl(dev->fd, USBDEVFS_CLAIMINTERFACE,&interface); >

Re: [Qemu-devel] [PATCH] target-arm: fix LDMIA bug on page boundary

2011-04-24 Thread YuYeon Oh
2011/4/24 Peter Maydell >Thanks for finding this. I agree the fix is required, but I think I'd >prefer it if the thumb code for this case handled it in the same way >the disas_arm_insn() code does: > > loaded_base = 0; > TCGV_UNUSED(loaded_var); > [...] > tmp = gen_ld32(addr, IS_USER(s))

[Qemu-devel] [PATCH] target-arm: fix LDMIA bug on page boundary

2011-04-24 Thread YuYeon Oh
target-arm: fix LDMIA bug on page boundary When consecutive memory locations are on page boundary, a base register may be loaded before page fault occurs. After page fault handling, it losts the memory location information. To solve this problem, loading a base register has to put back. Signed-o

[Qemu-devel] [RFC] Removing old command line options

2011-04-24 Thread Brad Hards
I've been trying to update the documentation (currently on neworking), and one of the things that makes it hard is that there are a few old (legacy) command line options (e.g. --tftp). Removing them is easy, but not really nice to users who depend on them. So I was thinking about a migration appro

[Qemu-devel] [PATCH] net: add drop_packets parameter to -net nic

2011-04-24 Thread Nguyễn Thái Ngọc Duy
Dropping packets is sometimes perferred behavior. Add drop_packets parameter to NICConf struct and let nic simulation decide how to use it. Only e1000 supports this for now. Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation is missing, but I'm not even sure if there's any other user who fi

Re: [Qemu-devel] [RFC] Removing old command line options

2011-04-24 Thread Mulyadi Santosa
Hi... On Mon, Apr 25, 2011 at 08:38, Brad Hards wrote: > I've been trying to update the documentation (currently on neworking), and one > of the things that makes it hard is that there are a few old (legacy) command > line options (e.g. --tftp). > > Removing them is easy, but not really nice to u