Re: [Qemu-devel] [PATCH][RFC] SVM support

2007-08-25 Thread Mulyadi Santosa

Hello...


I implemented SVM in the qemu emulator (not kqemu, not kvm, but the 
real emulator), so you can use SVM in qemu on _any_ platform qemu runs 
on - even on PowerPC.


basically, I wanna say thanks for your effort on implementing SVM 
support for Qemu. It helps user who doesn't have Pacifica enabled 
processor to test software how a software behaves in such environment.


It also serves as yet another example on how hack Qemu. Bravo! I hope 
this patch will be merged soon.


regards,

Mulyadi




[Qemu-devel] e1000 emulation

2007-08-25 Thread Dan Aloni

Hello,

Is anyone interested in a patch for an unstable, though working e1000 
emulation for

QEMU? It is aimed for this chip-set version:

0e:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet 
Controller


I originally created it very recently to provide a virtual NIC that 
supports Jumbo

packets. Unfortunately it appears that the tun driver doesn't implement
change_mtu() so it didn't integrate very well with qemu-kvm.

--

Dan Aloni
XIV LTD, http://www.xivstorage.com
da-x (at) monatomic.org, dan (at) xiv.co.il





[Qemu-devel] [optional patch] in order to compile qemu-0.9.0 for uclibc-0.9.29

2007-08-25 Thread Christian MICHON
Hi lists,

for those who would optionally need qemu-0.9.0 (not the CVS current,
the official release) compiled versus uclibc-0.9.29 on x86, please
find attached a patch which allows it. i've not tested other
architectures like arm/sparc.

it's basically a removal of aio (not present in uclibc) and of
floatx80 math operations (not all available in uclibc).

this is optional: your mileage may vary. the cool thing about it is
that next release of detaolb 0.6 will include qemu binaries. kqemu
works too if you compile it yourself for detaolb.

-- 
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu


qemu-0.9.0-uclibc.patch
Description: Binary data


Re: [Qemu-devel] arm-linux-user infinite SIGSEGV looping

2007-08-25 Thread Thayne Harbaugh
On Fri, 2007-08-24 at 15:16 -0600, Thayne Harbaugh wrote:
> I've encountered what appears to be a race condition in arm-linux-user:
> sometimes the program qemu is running will hang forever and sometimes it
> will complete.  After digging about there appears to be at least two
> problems:

After digging about I have discovered that there truly is a bug in
cpu-exec.c:handle_cpu_exception() - unfortunately it's one that was
introduced by one of our patches.

My apologies for disturbing the list.

Thanks.






Re: [Qemu-devel] [PATCH][RFC] SVM support

2007-08-25 Thread Alexander Graf

On Aug 25, 2007, at 11:57 AM, Alexey Eremenko wrote:


Alexander Graf:
Excuse me, but it is a bit unclear what you did.

Several questions arise:
a. Qemu now is able to emulate SVM on non-SVM old 32-bit processors ?
-or-
b. Qemu now is able to emulate SVM on SVM processors ?
c. Qemu now is able to emulate SVM on VT processors ?
d. How fast it works ? (theoretically, or benchmark results )

Anyway it's nice to hear about this feature.

--  
-Alexey Eremenko "Technologov"





Hi Alexey,

I implemented SVM in the qemu emulator (not kqemu, not kvm, but the  
real emulator), so you can use SVM in qemu on _any_ platform qemu  
runs on - even on PowerPC.


Basically concerning speed I did not do any benchmarks, but as far as  
I can tell the ratio real machine:kvm and qemu:kvm are about the  
same. So the virtual machine is about 5-10% slower compared to the  
emulated machine.


Hope I could clarify this,

Alexander Graf






[Qemu-devel] qemu-system-arm runs wince?

2007-08-25 Thread Geraldo Netto
Hi Folks,

How are you doing?

I would like to know if any of you got a wince running on qemu-arm?
if so, could you please, show me how to do it?

Kind Regards and Best Wishes,


Geraldo
-- 
site: http://extremedev.sf.net
msn: [EMAIL PROTECTED]
skype: geraldo-netto
icq: 145-061-456




Re: [Qemu-devel] [PATCH][RFC] SVM support

2007-08-25 Thread Alexey Eremenko
Alexander Graf:
Excuse me, but it is a bit unclear what you did.

Several questions arise:
a. Qemu now is able to emulate SVM on non-SVM old 32-bit processors ?
-or-
b. Qemu now is able to emulate SVM on SVM processors ?
c. Qemu now is able to emulate SVM on VT processors ?
d. How fast it works ? (theoretically, or benchmark results )

Anyway it's nice to hear about this feature.

-- 
-Alexey Eremenko "Technologov"




[Qemu-devel] qemu monitor.c vnc.c

2007-08-25 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer  07/08/25 01:36:20

Modified files:
.  : monitor.c vnc.c 

Log message:
Extend monitor 'change' command for VNC, by Daniel P. Berrange.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/monitor.c?cvsroot=qemu&r1=1.75&r2=1.76
http://cvs.savannah.gnu.org/viewcvs/qemu/vnc.c?cvsroot=qemu&r1=1.15&r2=1.16




Re: [kvm-devel] [Qemu-devel] [PATCH 3/4] Add support for HPET periodic timer.

2007-08-25 Thread Dan Kenigsberg
On Fri, Aug 24, 2007 at 10:18:47PM +0200, Luca wrote:
> On 8/23/07, Dan Kenigsberg <[EMAIL PROTECTED]> wrote:
> > On Thu, Aug 23, 2007 at 12:09:47AM +0200, Andi Kleen wrote:
> > > > $ dmesg |grep -i hpet
> > > > ACPI: HPET 7D5B6AE0, 0038 (r1 A M I  OEMHPET   5000708 MSFT   97)
> > > > ACPI: HPET id: 0x8086a301 base: 0xfed0
> > > > hpet0: at MMIO 0xfed0, IRQs 2, 8, 0, 0
> > > > hpet0: 4 64-bit timers, 14318180 Hz
> > > > hpet_resources: 0xfed0 is busy
> > >
> > > What kernel version was that? There was a bug that caused this pre .22
> > >
> >
> > I have vanilla 2.6.22.3 on that machine.
> 
> Try:
> cat /sys/devices/system/clocksource/clocksource0/available_clocksource
> 
> do you see HPET listed twice?
> 
No, only once. Is that wrong?

# cat /sys/devices/system/clocksource/clocksource0/available_clocksource
hpet acpi_pm jiffies tsc 

# cat /sys/devices/system/clocksource/clocksource0/current_clocksource 
tsc 

Dan.




[Qemu-devel] qemu Makefile.target monitor.c vl.h vnc.c

2007-08-25 Thread Thiemo Seufer
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Thiemo Seufer  07/08/25 01:37:05

Modified files:
.  : Makefile.target monitor.c vl.h vnc.c 

Log message:
VNC password authentication, by Daniel P. Berrange.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemu&r1=1.191&r2=1.192
http://cvs.savannah.gnu.org/viewcvs/qemu/monitor.c?cvsroot=qemu&r1=1.76&r2=1.77
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemu&r1=1.262&r2=1.263
http://cvs.savannah.gnu.org/viewcvs/qemu/vnc.c?cvsroot=qemu&r1=1.16&r2=1.17




[Qemu-devel] Build failure on OS X - dynticks

2007-08-25 Thread Andreas Färber

Hello,

One of the recent patches (dynticks) has broken compilation on Mac OS  
X v10.4. Should this work on OS X or should this have been limited to  
Linux?


...
Documentation yes
gcc-3.3 -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -I. - 
D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -mdynamic-no- 
pic  -g-o qemu-img qemu-img.c cutils.c block.c block-raw.c block- 
cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c block-dmg.c block- 
bochs.c block-vpc.c block-vvfat.c block-qcow2.c block-parallels.c -lz

make -C i386-softmmu all
gcc-3.3 -Wall -O2 -g -fno-strict-aliasing -I. -I.. -I/Users/andreas/Q/ 
tmp/qemu/target-i386 -I/Users/andreas/Q/tmp/qemu -D__powerpc__ - 
D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/Users/ 
andreas/Q/tmp/qemu/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/Users/ 
andreas/Q/tmp/qemu/slirp  -mdynamic-no-pic  -c -o vl.o /Users/andreas/ 
Q/tmp/qemu/vl.c

/Users/andreas/Q/tmp/qemu/vl.c: In function `dynticks_start_timer':
/Users/andreas/Q/tmp/qemu/vl.c:1307: error: `timer_t' undeclared  
(first use in this function)
/Users/andreas/Q/tmp/qemu/vl.c:1307: error: (Each undeclared  
identifier is reported only once
/Users/andreas/Q/tmp/qemu/vl.c:1307: error: for each function it  
appears in.)
/Users/andreas/Q/tmp/qemu/vl.c:1307: error: parse error before  
"host_timer"
/Users/andreas/Q/tmp/qemu/vl.c:1323: warning: implicit declaration of  
function `timer_create'
/Users/andreas/Q/tmp/qemu/vl.c:1323: error: `CLOCK_REALTIME'  
undeclared (first use in this function)
/Users/andreas/Q/tmp/qemu/vl.c:1323: error: `host_timer' undeclared  
(first use in this function)

/Users/andreas/Q/tmp/qemu/vl.c: In function `dynticks_stop_timer':
/Users/andreas/Q/tmp/qemu/vl.c:1339: error: `timer_t' undeclared  
(first use in this function)
/Users/andreas/Q/tmp/qemu/vl.c:1339: error: parse error before  
"host_timer"
/Users/andreas/Q/tmp/qemu/vl.c:1341: warning: implicit declaration of  
function `timer_delete'
/Users/andreas/Q/tmp/qemu/vl.c:1341: error: `host_timer' undeclared  
(first use in this function)

/Users/andreas/Q/tmp/qemu/vl.c: In function `dynticks_rearm_timer':
/Users/andreas/Q/tmp/qemu/vl.c:1346: error: `timer_t' undeclared  
(first use in this function)
/Users/andreas/Q/tmp/qemu/vl.c:1346: error: parse error before  
"host_timer"
/Users/andreas/Q/tmp/qemu/vl.c:1347: error: storage size of `timeout'  
isn't known
/Users/andreas/Q/tmp/qemu/vl.c:1358: warning: implicit declaration of  
function `timer_gettime'
/Users/andreas/Q/tmp/qemu/vl.c:1358: error: `host_timer' undeclared  
(first use in this function)
/Users/andreas/Q/tmp/qemu/vl.c:1371: warning: implicit declaration of  
function `timer_settime'

/Users/andreas/Q/tmp/qemu/vl.c:1347: warning: unused variable `timeout'
make[1]: *** [vl.o] Error 1
make: *** [subdir-i386-softmmu] Error 2

Andreas