Skip to contentSkip to conversation

qemu and configuration file?

Qemu-devel Giuseppe Della Bianca 9 participants 38 messages Dec 31, 2005 – Jan 8, 2006 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi.

The options of qemu are so many, that would be the case to use configuration file.

You are interested to this?
If the answer is, I could also think to insert in qemu the code of management of the configuration file of my program gesconf
( http://savannah.nongnu.org/projects/gesconf ).

Regards.
        Gdb

#1 lore raw

Hi.

My idea is this:
- qemu start
- set up of the hardcode parameters
- reading of the configuration file and set up of the parameters
- set up of the parameters of command line

Example of configuration file:
[general]
....
[vlan0]

    ip= x.y.x.w
    mac= l:m:n:o
    ....

[/vlan0]
[/general]

[suse.img]
....
[vlan3]

    mac= h:j:k:l
    ....

[/vlan3]
[/suse.img]

[win.img]
....
[vlan2]

    mac= z:x:c:v
    ....

[/vlan2]
[/win.img]

Result:
- full compatibility with every version of qemu
- more flexibility
- possibility to set up the hardcode parameters
- possibility of parameters personalized for every image

One similar thing, with smaller flexibility, is possible
without modify qemu and using one series of bash script.

Comments are welcomes (at least one "it does not interest to us").

Regards.
Gdb

#2 lore raw
Quoted 10 lines

Result:
- full compatibility with every version of qemu
- more flexibility
- possibility to set up the hardcode parameters
- possibility of parameters personalized for every image

One similar thing, with smaller flexibility, is possible
without modify qemu and using one series of bash script.

Comments are welcomes (at least one "it does not interest to us").

I'd go for the shell script. If enough people like it I'm sure it could be included with qemu.
Config file support without a decent GUI seem rather pointless. The big advantage of doing it as a shell script is it's dead easy to hack to include whatever custom magical features people want.

Paul

#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · Paul Brook

Config file support without a decent GUI seem rather pointless. The big advantage of doing it as a shell script is it's dead easy to hack to include whatever custom magical features people want.

It would be useful for automatic startup of the VMs by init scripts. OTOH it's very simple to create a config file parser with perl/python/bash who can wrap around qemu options.

If I find 1 free hour tomorrow I'll post a POC.

- --
Flavio Visentin

|                     \|||/
|                    @/0.0\@
|                     \ - /
+------------------oOOo---oOOo------------------

There are only 10 types of people in this world:
those who understand binary, and those who don't.

GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDuvpousUmHkh1cnoRAgvHAJ0eHmaCxf0q1od+El+v/goRS9XsbwCfYdVm 8M59yryja9pnmrNJff1etLI=
=wcb1
-----END PGP SIGNATURE-----

#4 lore raw

Hi,

Quoted 3 lines · Flavio Visentin

It would be useful for automatic startup of the VMs by init scripts. OTOH it's very simple to create a config file parser with perl/python/bash who can wrap around qemu options.

It is simpler to write the bash script right away, especially if you know init scripts.

Quoted 1 line

If I find 1 free hour tomorrow I'll post a POC.

POC=Piece Of Crap??? ;-)

Ciao,
Dscho

#5 lore raw
Quoted 3 lines · Johannes Schindelin
Quoted 1 line

If I find 1 free hour tomorrow I'll post a POC.

POC=Piece Of Crap??? ;-)

I can only hope he meant Proof Of Concept :)

--
"I decry the current tendency to seek patents on algorithms. There are better ways to earn a living than to prevent other people from making use of one's contributions to computer science."
Donald Knuth

#6 lore raw
In reply to Flavio Visentin
Quoted 5 lines · Flavio Visentin
Quoted 3 lines · Paul Brook

Config file support without a decent GUI seem rather pointless. The big advantage of doing it as a shell script is it's dead easy to hack to include whatever custom magical features people want.

Quoted 8 lines

It would be useful for automatic startup of the VMs by init scripts. OTOH it's very simple to create a config file parser with perl/python/bash who can wrap around qemu options.

If I find 1 free hour tomorrow I'll post a POC.

- --
Flavio Visentin

I wrote one a long time ago called vqemu. It's a simple bash script that gives support for a really primitive style of config file (basically a file full of "qemu parameter"="on/off" or "parameter"="value". All I have to do is type 'vqemu' in the right directory (or call 'vqemu -config file') and I get a VM running with no troubles.

If people think this is a good idea I can easily update this to qemu 0.8.0's options.

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#7 lore raw
In reply to Paul Brook

]zac[

Quoted 2 lines

I'd go for the shell script. If enough people like it I'm sure it could be included with qemu.

Ok.

Quoted 1 line

Config file support without a decent GUI seem rather pointless.

]zac[

I understand and I agree yours (and of the others that prefer the scripts) motivations.

To modify qemu allows to make things that with script are impossible, and one
linear configuration file is the first step for having one graphical tools
easy and friendly (I think as an example at kde, samba and others).

#8 lore raw
In reply to Giuseppe Della Bianca

If we'd go for a config file at all with such a complicated structure, i see no reasons why to
choose anything else than xml for it. We have tons of xml libs that can be used for gui's (think perl, tk, python etc...). Certainly better every dude writing it's own XuPeRpArSeR that will be broken and compatible after a major change in qemu ...
Another choice would be the pure rc (just 'item = value' lines) without any supersmart blocks.

xml style or rc style, please no hack in betweeen :)

martin

Quoted 53 lines · Giuseppe Della Bianca

Hi.

My idea is this:
- qemu start
- set up of the hardcode parameters
- reading of the configuration file and set up of the parameters
- set up of the parameters of command line

Example of configuration file:
[general]
....
[vlan0]

    ip= x.y.x.w
    mac= l:m:n:o
    ....

[/vlan0]
[/general]

[suse.img]
....
[vlan3]

    mac= h:j:k:l
    ....

[/vlan3]
[/suse.img]

[win.img]
....
[vlan2]

    mac= z:x:c:v
    ....

[/vlan2]
[/win.img]

Result:
- full compatibility with every version of qemu
- more flexibility
- possibility to set up the hardcode parameters
- possibility of parameters personalized for every image

One similar thing, with smaller flexibility, is possible
without modify qemu and using one series of bash script.

Comments are welcomes (at least one "it does not interest to us").

Regards.
Gdb

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#9 lore raw

I shouldn't write posts at 7-8am

should be

s/Certainly better every/Certainly better than every/

s/broken and compatible/broken and incompatible/

sry :) , you probably understood anyway what i meant ...

martin

Quoted 8 lines · martin

If we'd go for a config file at all with such a complicated structure,
i see no reasons why to choose anything else than xml for it. We have tons of xml libs that can be used for gui's (think perl, tk, python etc...). Certainly better every dude writing it's own XuPeRpArSeR that will be broken and compatible after a major change in qemu ...
Another choice would be the pure rc (just 'item = value' lines) without
any supersmart blocks.

xml style or rc style, please no hack in betweeen :)

martin

#10 lore raw

]zac[

Quoted 1 line

sry :) , you probably understood anyway what i meant ...

]zac[

Yes, :) .

Gdb

#11 lore raw
In reply to martin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · martin

xml style or rc style, please no hack in betweeen :)

I like VMWare style. Maybe it should be possible to share the same config file between qemu and VMWare, also to favour user migration.

- --
Flavio Visentin

|                     \|||/
|                    @/0.0\@
|                     \ - /
+------------------oOOo---oOOo------------------

There are only 10 types of people in this world:
those who understand binary, and those who don't.

GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDu4yzusUmHkh1cnoRAoCzAJ4nVTWaXmB10yxdqwe2545RTiBaKACfQRZd O+nMWD5WjH5K5V+xNvbk+Vc=
=3hha
-----END PGP SIGNATURE-----

#12 lore raw

]zac[

Quoted 2 lines

I like VMWare style. Maybe it should be possible to share the same config file between qemu and VMWare, also to favour user migration.

Please, you can make an detailed example?

Gdb

#13 lore raw

Hi,

Quoted 5 lines · Giuseppe Della Bianca

]zac[

Quoted 2 lines

I like VMWare style. Maybe it should be possible to share the same config file between qemu and VMWare, also to favour user migration.

Please, you can make an detailed example?

I can give you a perfectly simple example of a /bin/sh script ;-)

-- snip --
#!/bin/sh

qemu -m 512 -net none -usb -full-screen -serial stdio -parallel stdio \
	-monitor stdio "$@"

-- snap --

Ciao,
Dscho

#14 lore raw

I'd like to see some more things in it (besides that windows clients can't handle (ba)sh scripts:

- State of the machine (saved/running/snapshot)
- what cpu/machine
- further information (Author, Copyright...)
- paths that can be handled by every plattform
...

so you can g(zip) up a vm and send it to your fellow tester and he can run it on every plattform...

and of corse advanced configuration/packages are only good for a GUI!

Mike

else you can really stay with bat/sh ;)

Quoted 28 lines · Johannes Schindelin

Hi,

Quoted 5 lines · Giuseppe Della Bianca

]zac[

Quoted 2 lines

I like VMWare style. Maybe it should be possible to share the same config file between qemu and VMWare, also to favour user migration.

Please, you can make an detailed example?

I can give you a perfectly simple example of a /bin/sh script ;-)

-- snip --
#!/bin/sh

qemu -m 512 -net none -usb -full-screen -serial stdio -parallel stdio \
	-monitor stdio "$@"

-- snap --

Ciao,
Dscho

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#15 lore raw
In reply to Giuseppe Della Bianca

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines · Giuseppe Della Bianca
Quoted 2 lines

I like VMWare style. Maybe it should be possible to share the same config file between qemu and VMWare, also to favour user migration.

Please, you can make an detailed example?

This is one config I use with VMPlayer for an XP image. Anyway 90% is useless for qemu.

#!/usr/bin/vmware
config.version = "8"
virtualHW.version = "3"
scsi0.present = "TRUE"
memsize = "128"
ide0:0.present = "TRUE"
ide0:0.fileName = "WXP.vmdk"
ide0:0.deviceType = "disk"
ide0:1.present = "TRUE"
ide0:1.fileName = "WXP2.vmdk"
ide0:1.deviceType = "disk"
ide1:0.present = "TRUE"
ide1:0.fileName = "/dev/hdc"
ide1:0.deviceType = "atapi-cdrom"
#ide1:0.fileName = "WXP.iso"
#ide1:0.deviceType = "cdrom-image"
floppy0.fileName = "/dev/fd0"
Ethernet0.present = "TRUE"
sound.present = "TRUE"
displayName = "WXP"
guestOS = "winxppro"
priority.grabbed = "normal"
priority.ungrabbed = "normal"
powerType.powerOff = "soft"
powerType.powerOn = "hard"
powerType.suspend = "hard"
powerType.reset = "soft"
sound.virtualDev = "es1371"
Ethernet0.addressType = "generated" ethernet0.generatedAddress = "00:0c:29:9d:77:37" ethernet0.generatedAddressOffset = "0"
uuid.location = "56 4d 5e cf 11 82 d8 2a-00 c8 78 51 18 9d 77 37" uuid.bios = "56 4d 5e cf 11 82 d8 2a-00 c8 78 51 18 9d 77 37" floppy0.startConnected = "FALSE"
ide1:0.startConnected = "TRUE"
tools.syncTime = "FALSE"
ide0:0.redo = ""
ide0:1.redo = ""
usb.present = "TRUE"
nvram = "WXP.nvram"
sound.startConnected = "FALSE"
checkpoint.vmState = ""
uuid.action = "create"
usb.autoConnect.device0 = ""
tools.remindInstall = "TRUE"

Quoted 9 lines

Gdb

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

- --
Flavio Visentin

|                     \|||/
|                    @/0.0\@
|                     \ - /
+------------------oOOo---oOOo------------------

There are only 10 types of people in this world:
those who understand binary, and those who don't.

GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDvFJCusUmHkh1cnoRAuCiAJ40f78C8i3WEA9K7Yb66aVqMDntlQCfW+Xz Tp6m8rEAbcxxureeGdysuN4=
=QxpM
-----END PGP SIGNATURE-----

#16 lore raw

]zac[

Quoted 1 line
Quoted 1 line

Please, you can make an detailed example?

]zac[

Quoted 2 lines

uuid.action = "create"
usb.autoConnect.device0 = ""

]zac[

Thanks.
Gdb

#17 lore raw
In reply to martin
Quoted 1 line · martin

xml style or rc style, please no hack in betweeen :)

INI? *SCNR* :)

Signature · 4 lines
< Jernej Simončič ><><><><>< http://deepthought.ena.si/ >

The deficiency will never show itself during the dry runs.
       -- Boyle's Third Law
#18 lore raw

]zac[

Quoted 3 lines
Quoted 1 line

xml style or rc style, please no hack in betweeen :)

INI? *SCNR* :)

and kde, samba and other?

#19 lore raw
In reply to martin

I made a proposal some month ago based on xml:
http://lists.gnu.org/archive/html/qemu-devel/2005-08/msg00034.html

I use this style of xml property lists for the configuration of the vm of Q (slightly alter by now). Q is a OS X port of QEMU http://www.kberg.ch/q

I ran recently into some troubles with arguments that can appear multiple times, like -net and -redir.
I'm now about to changes my configuration files. Having a well defined style of configuration files would help making simple guest packages, that could be used on multiple systems...

Mike

Quoted 9 lines · martin

If we'd go for a config file at all with such a complicated
structure, i see no reasons why to choose anything else than xml for it. We have tons of xml libs that can be used for gui's (think perl, tk, python etc...). Certainly better every dude writing it's own XuPeRpArSeR that will be broken and compatible after a major change in qemu ...
Another choice would be the pure rc (just 'item = value' lines)
without any supersmart blocks.

xml style or rc style, please no hack in betweeen :)

martin

#20 lore raw
In reply to martin

]zac[

Quoted 2 lines

see no reasons why to choose anything else than xml for it. We have tons of xml libs that can be used for gui's (think perl, tk, python etc...).

]zac[

The xml configuration file are too much hard to consult and to modify directly from a human.
The idea to use additional library and therefore to add obligatory prerequirement to qemu, is not an idea that have appeals for me.

Quoted 4 lines

Certainly better every dude writing it's own XuPeRpArSeR that will be broken and compatible after a major change in qemu ...
Another choice would be the pure rc (just 'item = value' lines) without
any supersmart blocks.

My program and library can manage from the basic ' key value'
to the configuration file of xfree/xorg (and multiple keys, groups with name in one key) without particular problems.

As an example:
Qemu set up a function of callback, calls one function of my library for
demands one group (or some groups) and one key (or some keys), my library,
using the callback function it gives back the value (or some values). Then qemu it will make what he must make, and I do not see particular problems of incompatible with a major change in qemu.

Quoted 1 line

xml style or rc style, please no hack in betweeen :)

All depends from functions that are wanted to be added at qemu, without the group not it goes beyond simpler configurations.

Gdb

#21 lore raw
Quoted 2 lines · Giuseppe Della Bianca

The xml configuration file are too much hard to consult and to modify directly from a human.

It's not hard to edit XML (when it's nicely structured, and not clumped all in a single line), but from my experience it just doesn't give enough advantage over flat files for storing simple configuration, to justify writing the much more complex parsing code it needs.

Signature · 4 lines
< Jernej Simončič ><><><><>< http://deepthought.ena.si/ >

When things are going well, someone will inevitably experiment detrimentally.
       -- Boyle's Second Law
#22 lore raw

As I mentioned in a earlier thread about config files, one of the big advantages of XML is it's language independence. There are french, spanish, japanese, chinese people using qemu, resulting in imagenames / paths in the corresponding language. ASCII/UTF-8 is not everything.

Mike

Quoted 22 lines · Jernej Simončič
Quoted 2 lines · Giuseppe Della Bianca

The xml configuration file are too much hard to consult and to modify directly from a human.

It's not hard to edit XML (when it's nicely structured, and not clumped all in a single line), but from my experience it just doesn't give enough advantage over flat files for storing simple configuration, to justify writing the much more complex parsing code it needs.

Signature · 11 lines
< Jernej Simončič ><><><><>< http://deepthought.ena.si/ >

When things are going well, someone will inevitably experiment detrimentally.
       -- Boyle's Second Law



_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
#23 lore raw
Quoted 2 lines · Mike Kronenberg

As I mentioned in a earlier thread about config files, one of the big advantages of XML is it's language independence.

And flat files are language dependant how?

Quoted 3 lines

There are french, spanish, japanese, chinese people using qemu, resulting in imagenames / paths in the corresponding language. ASCII/UTF-8 is not everything.

...so what does this have to do with XML/flat files?

Signature · 4 lines
< Jernej Simončič ><><><><>< http://deepthought.ena.si/ >

Nothing matters very much, and few things matter at all.
       -- Erhard's Contention
#24 lore raw

simple example:

qemu "/Users/Jernej Simončič/Simončič_image_2.img" -m 128

can be correctly declarated and stored in a XML file while its generating problems with normal 8bit text files. Not necessarily on the creators system, but maybe on another users system, if you share the config file and the image with somebody... It's already fun to exchange "normal" textfiles" between Mac (Macroman) and windows and linux(utf-8/iso-8950-x).

Mike

Quoted 25 lines · Jernej Simončič
Quoted 2 lines · Mike Kronenberg

As I mentioned in a earlier thread about config files, one of the big advantages of XML is it's language independence.

And flat files are language dependant how?

Quoted 3 lines

There are french, spanish, japanese, chinese people using qemu, resulting in imagenames / paths in the corresponding language. ASCII/UTF-8 is not everything.

...so what does this have to do with XML/flat files?

Signature · 11 lines
< Jernej Simončič ><><><><>< http://deepthought.ena.si/ >

Nothing matters very much, and few things matter at all.
       -- Erhard's Contention



_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel
#25 lore raw
Quoted 4 lines · Mike Kronenberg

qemu "/Users/Jernej Simončič/Simončič_image_2.img" -m 128

can be correctly declarated and stored in a XML file while its generating problems with normal 8bit text files.

You do realize, that Qemu could easily declare that it's config files are in utf8? (Though, from my experience with Linux filesystems, the file names there are just stream of characters, and it's entirely up to the program how those characters will be presented to the user - the programs/OS doesn't care if the filename can't be properly displayed with the current user settings, as long as the name is valid, it can be accessed).

IMHO, XML and charset encodings are beyond Qemu's scope - it just needs to read in the file, change it's settings accordingly and go it's way. Parsing XML or dealing with encodings adds too much code for way too little benefit.

Quoted 3 lines

Not necessarily on
the creators system, but maybe on another users system, if you share the config file and the image with somebody...

Depends on what you use to share the config - many network protocols and archive formats don't care about the charsets either, and in the worst case scenario, you'll have to edit the config file and do a bit of search-and-replace (or simply use iconv) before the file will be usable (then again, I normally avoid naming my files using national characters - too many problems with that).

Quoted 2 lines

It's already fun to exchange "normal" textfiles" between Mac (Macroman) and windows and linux(utf-8/iso-8950-x).

UTF8 is pretty universal, and should be supported on just about any OS (on Windows 2000 eg. the simple Notepad opens and saves utf8 files just fine).

Signature · 4 lines
< Jernej Simončič ><><><><>< http://deepthought.ena.si/ >

It's a good thing money can't buy happiness. We couldn't stand the commercials.
       -- Gerrold's Fundamental Truth

A message that is not in the archive (sent off-list or not yet received): [email protected]

#27 lore raw
Quoted 2 lines

Yah. I like this the best. It is the most flexible. It even allows you to put logic into your qemu startup.

]zac[

The script not are the solution that I would want.

To make a good job with the script is much laborious, and demands to use one collection of additional programs (that I think is one bad solution).

Also modifying qemu, the command line of qemu allow to use the logic that everyone prefers.

Gdb

#28 lore raw
Quoted 9 lines · Giuseppe Della Bianca
Quoted 2 lines

Yah. I like this the best. It is the most flexible. It even allows you to put logic into your qemu startup.

]zac[

The script not are the solution that I would want.

To make a good job with the script is much laborious, and demands to use one collection of additional programs (that I think is one bad solution).

No it doesn't. All that is needed is the one script.

Unless you mean like a GUI config file editor? But that would likely be a separate program anyways (and not a script).

Quoted 2 lines

Also modifying qemu, the command line of qemu allow to use the logic that everyone prefers.

What do you mean by that?

Quoted 10 lines

Gdb

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#29 lore raw

]zac[

Quoted 2 lines

Unless you mean like a GUI config file editor? But that would likely be a separate program anyways (and not a script).

I thing that would be useful to insert in the configuration file the options for set up the mac address, for assing at one key the combinations of keys for execute change of the removable units, and other.
To have for every image one personalized configuration.

Quoted 4 lines
Quoted 2 lines

Also modifying qemu, the command line of qemu allow to use the logic that everyone prefers.

What do you mean by that?

That the options of command line having always the priority on the options set up from the configuration file.

Gdb

#30 lore raw
In reply to Giuseppe Della Bianca

Hi,

Quoted 5 lines · Giuseppe Della Bianca
Quoted 2 lines

Yah. I like this the best. It is the most flexible. It even allows you to put logic into your qemu startup.

]zac[

The script not are the solution that I would want.

What do you want (specifically)?

Quoted 3 lines

To make a good job with the script is much laborious, and demands to use one collection of additional programs (that I think is one bad solution).

Huh? I do not need any additional program.

Quoted 2 lines

Also modifying qemu, the command line of qemu allow to use the logic that everyone prefers.

I, for one, prefer shell scripts. Config files have no notion of loops, conditionals or variables. Shell scripts do. As in the first flame war about config files, I fail to see the necessity of config files, let alone XML config files.

Ciao,
Dscho

#31 lore raw

]zac[

Quoted 1 line

What do you want (specifically)?

Please, read this:

Re: [Qemu-devel] qemu and configuration file?
(Giuseppe Della Bianca, Tue Jan  3 22:49:41 2006)

]zac[

Quoted 2 lines

about config files, I fail to see the necessity of config files, let alone XML config files.

]zac[

Ok.
Gdb

#32 lore raw
In reply to Giuseppe Della Bianca
Quoted 2 lines · Giuseppe Della Bianca

Also modifying qemu, the command line of qemu allow to use the logic that everyone prefers.

I'd prefer to have 5 config files and just specify one of them on the command-line, than having 5 scripts, which run qemu with the parameters I want.

Signature · 4 lines
< Jernej Simončič ><><><><>< http://deepthought.ena.si/ >

When you are over the hill, you pick up speed.
       -- Baker's Byroad
#33 lore raw
Quoted 9 lines · Jernej Simon?i?
Quoted 2 lines · Giuseppe Della Bianca

Also modifying qemu, the command line of qemu allow to use the logic that everyone prefers.

I'd prefer to have 5 config files and just specify one of them on the command-line, than having 5 scripts, which run qemu with the parameters I want.

Well, you can have 5 config files and one shell script.

vqemu -config file

Signature · 2 lines
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.
#34 lore raw
In reply to Jernej Simončič

]zac[

Quoted 3 lines

I'd prefer to have 5 config files and just specify one of them on the command-line, than having 5 scripts, which run qemu with the parameters I want.

I would prefer to go also beyond, one unique configuration file for every image of S.O., and use the command line for overwrite the set up hardcode and the set up from configuration file.

#36 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · Giuseppe Della Bianca

Please, who is that decides if to insert patch or modifications in qemu code?

Fabrice

- --
Flavio Visentin

|                     \|||/
|                    @/0.0\@
|                     \ - /
+------------------oOOo---oOOo------------------

There are only 10 types of people in this world:
those who understand binary, and those who don't.

GPG Key: http://www.zipman.it/gpgkey.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDv+WzusUmHkh1cnoRAk9VAKCLvqUwL0vNuOACL1UIiydshuUkEQCeNNjv uTamZYDfGJfNkA6T4OVXFyQ=
=8PYN
-----END PGP SIGNATURE-----

#37 lore raw
Quoted 5 lines
Quoted 2 lines · Giuseppe Della Bianca

Please, who is that decides if to insert patch or modifications in qemu code?

Fabrice

Thanks for the confirmation.

Therefore the alternatives are:
- create several script that they use the command line of qemu
- modify and maintain one personalized version of 'vdeq'.
- nothing

Thanks for all, for the comments and the help.

Ciao.
Gdb

#38 lore raw

Hi,

Quoted 5 lines · Giuseppe Della Bianca
Quoted 5 lines
Quoted 2 lines · Giuseppe Della Bianca

Please, who is that decides if to insert patch or modifications in qemu code?

Fabrice

That is not completely true. QEmu is Open Source, and the license permits to have your own version ("fork").

Just look at Linux: There is Linus' version, which is often referred to as "official", but almost nobody uses it. Most people use a version adapted by vendors like SuSE or RedHat.

If you need config file support in QEmu, just do it. If you're nice, you send a patch to this list, but you don't have to. If you do, and enough people like it, I am sure Fabrice will take it into his CVS, too.

Hth,
Dscho