Re: [Qemu-devel] Qemu + wireless

2006-08-05 Thread Ottavio Caruso
Just guessing, if the device was a usb wireless
adaptor, provided the host os has the right driver
installed, it could be picked up by qemy with the -usb option...(?)

Ottavio Caruso
--

No individual replies, please!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu block-qcow2.c

2006-08-05 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/08/05 21:14:20

Added files:
.  : block-qcow2.c 

Log message:
new qcow2 disk image format

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/block-qcow2.c?cvsroot=qemurev=1.1


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu block-raw.c

2006-08-05 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/08/05 21:27:56

Modified files:
.  : block-raw.c 

Log message:
O_LARGEFILE is not needed

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/block-raw.c?cvsroot=qemur1=1.3r2=1.4


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu Makefile Makefile.target

2006-08-05 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/08/05 21:29:27

Modified files:
.  : Makefile Makefile.target 

Log message:
enable qcow2

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile?cvsroot=qemur1=1.105r2=1.106
http://cvs.savannah.gnu.org/viewcvs/qemu/Makefile.target?cvsroot=qemur1=1.122r2=1.123


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu vl.h vl.c block.c block_int.h monitor.c qe...

2006-08-05 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/08/05 21:31:00

Modified files:
.  : vl.h vl.c block.c block_int.h monitor.c 
 qemu-img.c 

Log message:
multiple snapshot support

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.h?cvsroot=qemur1=1.137r2=1.138
http://cvs.savannah.gnu.org/viewcvs/qemu/vl.c?cvsroot=qemur1=1.203r2=1.204
http://cvs.savannah.gnu.org/viewcvs/qemu/block.c?cvsroot=qemur1=1.29r2=1.30
http://cvs.savannah.gnu.org/viewcvs/qemu/block_int.h?cvsroot=qemur1=1.6r2=1.7
http://cvs.savannah.gnu.org/viewcvs/qemu/monitor.c?cvsroot=qemur1=1.55r2=1.56
http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-img.c?cvsroot=qemur1=1.11r2=1.12


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu block-qcow.c

2006-08-05 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/08/05 21:32:10

Modified files:
.  : block-qcow.c 

Log message:
block API change

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/block-qcow.c?cvsroot=qemur1=1.9r2=1.10


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu block-qcow2.c

2006-08-05 Thread Fabrice Bellard
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard   06/08/05 22:24:28

Modified files:
.  : block-qcow2.c 

Log message:
fixed disk image creation

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/block-qcow2.c?cvsroot=qemur1=1.1r2=1.2


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] ?off? ide/code editor under linux

2006-08-05 Thread NyOS

Hi!

I think it might be a bit offtopic here, but I'm already on the list, and  
I'm interested in some experienced users' opinion.

I can find ads on google, but not experience.

I'm looking for a good IDE (or just a good code editor) under linux.
My first try was kdevelop approx. 3 years ago (2.2.2 version). It was too  
complicated. 3.x.x is a bit unstable.

Vi is unconfortable for me,
I prefer using pico and gnu nano, but it's too stupid for some tasks.

My coding style:
There's usually a headers.h file with global headers and global constants  
(e.g. stdio.h, #define-s)
For a module called 'foo' there's a foo.c (or foo.cpp) and a foo.h  
(lowercase)

.h:
#ifndef _FOO_H //capitals!
#define _FOO_H //capitals!

class foo //c++
..
#endif

.c or .cpp:
#include headers.h
#include foo.h

class foo //c++
{

};

A bash script can create this (and I have bash scripts for creating new  
modules, adding new functions, etc..), but it'd be good to have an IDE  
that can create (according to a template file) these, inserting module  
name lowercase or uppercase at different places..


I don't need intellisense (it's good to have one but not necessary), just  
these simple things. (Maybe hotkeys for calling make, but not vital.)
Syntax highlighting is good, tab replacing is bad (drives patch/diff  
crazy).


I've just checked kdevelop, and I could found only a $MODULE$ keyword in  
file templates (its help system knows only c++ templates), which inserts  
module name (in lowecase) in a very simple way (it doesn't understand  
#include $MODULE$.h).


Another problem is if I use one system, then it probably has an own  
project format. So importing a bigger (not native) project (like QEmu)  
would be a nightmare.


But with smaller applications (currently nano) I can only see the whole  
project through a small window: one file at a time. Opening more terminal  
tabs resolve this, but makes things more complicated. (opening at least 5  
tabs, 2 .c/cpp with their .h file, one for making and running application)


Once I had to develop an app. under win32, I've used context. That's a  
simple editor that knows syn hl., supports crlf/lf end of line, has tabs  
to edit more files at once, and has some customizable hotkeys. Not  
perfect, but good.


Oh, and I prefer black text background to prevent my eyes flowing out from  
their place, so customized colors would be nice.



So, what do You use? Or what should I try? Any ideas?

Nyos
ps:
Ok, to be more ontopic, it's a good solution to install and run context in  
a QEmu instance under win32, and mounting a samba share, but I think there  
must be some better ones.



Software is like sex: it's better when it's free. - Linus Torvalds
Software is like sex: it's better with a penguin. - unknown


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] qemu vl.h vl.c block.c block_int.h monitor.c qe...

2006-08-05 Thread Mulyadi Santosa
Hi Fabrice

 Log message:
   multiple snapshot support

Could you kindly explain how does it work? And, is the concept similar 
to VMWare's incremental snapshot?

regards,

Mulyadi



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] ?off? ide/code editor under linux

2006-08-05 Thread M. Warner Losh
In message: [EMAIL PROTECTED]
NyOS [EMAIL PROTECTED] writes:
: #ifndef _FOO_H //capitals!
: #define _FOO_H //capitals!

You sould avoid using _FOO_H for the define here.  That's in the
implementation space and strictly speaking off limits to programmers
that merely use the system.  FOO_H is better, and likely sufficiently
unambiguous.

Warner


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] ?off? ide/code editor under linux

2006-08-05 Thread NyOS

On Sun, 06 Aug 2006 05:52:46 +0200, M. Warner Losh [EMAIL PROTECTED] wrote:


In message: [EMAIL PROTECTED]
NyOS [EMAIL PROTECTED] writes:
: #ifndef _FOO_H //capitals!
: #define _FOO_H //capitals!

You sould avoid using _FOO_H for the define here.  That's in the
implementation space and strictly speaking off limits to programmers
that merely use the system.  FOO_H is better, and likely sufficiently
unambiguous.

Warner


Ok, that's true.. corrected..
But defines have full capital names traditionally (as you wrote FOO_H and  
not foo_h).. Files/modules are lowercase..


AFAIK, even the most complex (I think) IDE I tried, kdevelop supports only  
a simple substitution, it cannot capitalize module name, neither allows to  
concatenate with _H. (Or does it an undocumented way)




[EMAIL PROTECTED]:~$ cat bin/newmodule
#!/bin/bash

#newmodule foo
#creates foo.cpp and foo.h

if [ $1 == --help ];then
  echo usage: newmodule modulename
  exit 0
fi

MODULENAME=$1
DEFINENAME=`toupper $1`
HFILE=${MODULENAME}.h
CPPFILE=${MODULENAME}.cpp
DIR=~/src/nyfiletemplates/
NEWCPP=${DIR}/cpp
NEWH=${DIR}/h

if [ -f ${CPPFILE} ]; then
  mv -f ${CPPFILE} /tmp/${CPPFILE}.old
fi

if [ -f ${HFILE} ]; then
  mv -f ${HFILE} /tmp/${HFILE}.old
fi

sed -e s/newfile/${MODULENAME}/g -e s/NEWFILE/${DEFINENAME}/g  
${NEWCPP} ${CPPFILE}
sed -e s/newfile/${MODULENAME}/g -e s/NEWFILE/${DEFINENAME}/g ${NEWH}  

${HFILE}




[EMAIL PROTECTED]:~/src/nyfiletemplates$ cat h
/*
  description of newfile
*/

#ifndef NEWFILE_H
#define NEWFILE_H

//newfile class
class newfile
{
  protected:
//attributes

  public:
//default constructor of newfile
newfile();

//destructor of newfile
~newfile();

//methods

};

#endif


[EMAIL PROTECTED]:~/src/nyfiletemplates$ cat cpp
#include headers.h
#include newfile.h

newfile::newfile()
{

}

newfile::~newfile()
{

}

//methods



Sorry for typos.. I've translated variable names and comments in this  
letter to English (and removed unnecessary parts)..

I think You can understand its point..
toupper makes uppercase letters (ok, it could be done with tr), sed  
substitutes.. ugly, but works.. I've got similar scripts for creating  
methods and putting in the code, adding attributes (and inserting default  
getter/setter methods)..
But I'd like to get rid of them.. (Or at least call them a bit cultivated  
way, use a hotkey and give parameters on an X/curses form)


So? What is Your advise? I'm open for new programs.

Nyos


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel