On 8/31/07, Anthony Liguori wrote: It makes little sense to pass a directory when you can pass a config file and assume that the directory the config file is in is the CWD. For instance, if vm.cfg contained just the command line arguments, you could have: MyImage/vm.cfg: -hda disk0.qcow -m 512 MyImage/disk0.qcow: And then do: qemu -c MyImage/vm.cfg I thought about this when coding, and it's true. Maybe we could just leave a new explicit config file option. I insist on making this as simple as possible, that's why I chose to use the config file as a 'written-down' command line. If this were the case, we could remove the restriction of having the config file refer only to images on the same directory, as the use of the config file would be explicit. Cheers, Jorge.
Am um 20:54 schrieb Anthony Liguori: It makes little sense to pass a directory when you can pass a config file and assume that the directory the config file is in is the CWD. In fact, most people having designed bundle-type document formats came to a different conclusion:. Typically, bundles are opaque and appear like a single file to the desktop user. And then do: qemu -c MyImage/vm.cfg In opposite to 'qemu -c MyImage'? Why do you want the user to do extra typing?
There's one config in one directory, so typing the config file name is just redundant. To me, Jorge's implementation looks just fine. + 'usage:%s options diskimage folder n' 'usage:%s options diskimage bundle n' ^^^^^^ Go ahead an call the baby by it's name?
M$0.02 Markus -Dipl. Markus Hitter. Attachments: Am um 13:02 schrieb Markus Hitter: Am um 20:54 schrieb Anthony Liguori: It makes little sense to pass a directory when you can pass a config file and assume that the directory the config file is in is the CWD. In fact, most people having designed bundle-type document formats came to a different conclusion: Bundle(NEXTSTEP). Typically, bundles are opaque and appear like a single file to the desktop user.
And then do: qemu -c MyImage/vm.cfg In opposite to 'qemu -c MyImage'? Why do you want the user to do extra typing? There's one config in one directory, so typing the config file name is just redundant. To me, Jorge's implementation looks just fine.
I support the idea of having a bundle for the machine and naming only that bundle. However the bundle still needs an extension. Like I already pointed out, on Mac OS X Q uses.qvm for its Qemu guest bundles, making it 'qemu -c MyGuest.qvm'.
Or alternatively maybe.qemu? And I don't understand why, when going along with the bundle idea, you are suddenly creating a new configuration file format of your own. There is a standard format, XML or text based, which can be easily parsed with OSX APIs (and thus likely.Step APIs as well) as a dictionary, allowing structured information to be stored and thus allowing Qemu backends to store their own settings alongside. See attached one my bundles' configuration.plist file (XML serialized) - relevant is only the Arguments entry, everything else is GUI specific.
I'm not saying this format (the structure) were perfect but the underlying 'property list' format (key, value-type) is standard for such bundles, so instead of re-inventing the wheel please take a look at how it's being done! With Q already using this technique and QEMU possibly using bundles as well, it would seem like a good idea to synchronize the two efforts so that in the end we get only one bundle format instead of one for each frontend.
Thanks, Andreas. And I don't understand why, when going along with the bundle ideayou are suddenly creating a new configuration file format of your own. There is a standard format, XML or text based, which can be easily parsed with OSX APIs (and thus likely.Step APIs as well) as a dictionary, allowing structured information to be stored and thus allowing Qemu backends to store their own settings alongside. See attached one my bundles' configuration.plist file (XML serialized) - relevant is only the Arguments entry, everything else is GUI specific. I'm not saying this format (the structure) were perfect but the underlying 'property list' format (key, value-type) is standard for such bundles, so instead of re-inventing the wheel please take a look at how it's being done! I would like to think that having command line options separated by spaces or newlines is a new configuration file format, but it's not. This patch is not meant as a replacement for libvirt or any other backend.
It's just a replacement for shell scripts that serve the only purpose of storing command line options. It should be a simple solution for a simple problem. The complex solution for the complex problem is already there and is called libvirt. I don't want to have QEMU parse serialized XML just to replace my '-m 512 -soundhw es1370 -net nic,model=rtl8139' command line. I would simply like to store that command line somewhere. Anyways, it's obvious that this is a delicate issue for many people here. I think the most non-disruptive way of doing this is the '-c' command line option.
It doesn't change QEMU default behaviour, it doesn't add new hyphen-less options. I insist on the fact that this should be a simple solution for a simple problem. Cheers, Jorge.
Am um 20:45 schrieb Jorge Luc=E1ngeli Obes: And I don't understand why, when going along with the bundle ideayou are suddenly creating a new configuration file format of your own. There is a standard format, XML or text based, which can be easily parsed with OSX APIs (and thus likely.Step APIs as well) as a dictionary, allowing structured information to be stored and thus allowing Qemu backends to store their own settings alongside. See attached one my bundles' configuration.plist file (XML serialized) - relevant is only the Arguments entry, everything else is GUI specific.
I'm not saying this format (the structure) were perfect but the underlying 'property list' format (key, value-type) is standard for such bundles, so instead of re-inventing the wheel please take a look at how it's being done! I would like to think that having command line options separated by spaces or newlines is a new configuration file format, but it's not.
This patch is not meant as a replacement for libvirt or any other backend. It's just a replacement for shell scripts that serve the only purpose of storing command line options. It should be a simple solution for a simple problem. The complex solution for the complex problem is already there and is called libvirt. I don't want to have QEMU parse serialized XML just to replace my '-m 512 -soundhw es1370 -net nic,model=3Drtl8139' command line. I would simply like to store that command line somewhere.
Anyways, it's obvious that this is a delicate issue for many people here. I think the most non-disruptive way of doing this is the '-c' command line option.
It doesn't change QEMU default behaviour, it doesn't add new hyphen-less options. I insist on the fact that this should be a simple solution for a simple problem. What you are basically doing is taking up the concept of a bundle but =20= call it directory, do not give it a mandatory folder name extension =20 and limit the usefulness of the configuration file to your personal =20 needs. The configuration file format you are proposing is new because you =20 are proposing it now while, as one example, Q has previously =20 introduced the concept of bundling a Qemu machine on the Mac. And =20 the.plist format has existed for bundles even long before that. Think about it: If you force frontends to use their own configuration =20= files inside the bundle because you want to keep yours simple then =20 you force frontends to parse two different configuration files.
=20 Whereas you yourself just said parsing one XML file was already too =20 much for you! Standardizing a more advanced configuration file format =20= here and now would enable frontends to exchange such bundles, =20 retaining their information.
By saying you just want a replacement =20 for your command line scripts you are ignoring that other people and =20 projects may have more advanced needs. Oh and this has nothing to do with any virtualization libraries, =20 virtualization is not what I (or Q) do so that is no solution at all. =20= This is all about invoking QEMU.
So in the end it simply means that you are taking an existing concept =20= and apply it half-heartedly and short-sighted: I might be wrong but =20 it seems you have a.nix viewpoint, are not used to working with =20 bundles and therefore re-inventing them differently. There are in =20 fact 'real' bundles on many Linux systems, have a look at pcsc-lite, =20 e.g. This driver bundle has =20 the default extension of.bundle, obviously not being opened as a =20 document by a user, but users do start up virtual machines with QEMU =20 so a custom extension is useful and necessary to detect that the =20 directory represents in fact a bundle and more specifically a QEMU =20 machine bundle. On 9/1/07, Andreas F=E4rber wrote: What you are basically doing is taking up the concept of a bundle but call it directory, do not give it a mandatory folder name extension and limit the usefulness of the configuration file to your personal needs. I think the problem here is that the scope of this change is not clear. I really wish to keep this simple.
I really wish to avoid having giant command lines and useless shell scripts. I don't mean to reinvent the concept of a bundle. Using directories like that seemed a good way of achieving the purpose of not having to deal with command lines. Now, it seems that a config file switch is a better choice. I hardly think that being able to store command line options in a plain text file is just a matter of my personal needs. The configuration file format you are proposing is new because you are proposing it now while, as one example, Q has previously introduced the concept of bundling a Qemu machine on the Mac. And the.plist format has existed for bundles even long before that.
Think about it: If you force frontends to use their own configuration files inside the bundle because you want to keep yours simple then you force frontends to parse two different configuration files. Whereas you yourself just said parsing one XML file was already too much for you!
Standardizing a more advanced configuration file format here and now would enable frontends to exchange such bundlesretaining their information. By saying you just want a replacement for your command line scripts you are ignoring that other people and projects may have more advanced needs. Those people that have more advanced needs can use the frontends. This is not meant (necessarily) for frontends. It's meant exactly to replace command line scripts. Oh and this has nothing to do with any virtualization librariesvirtualization is not what I (or Q) do so that is no solution at all. This is all about invoking QEMU.
Libvirt can be perfectly used to invoke QEMU. The name might be ambiguous, but the functionality is not. In fact, using or not using KVM with QEMU reduces to selecting a checkbox in libvirt. It's just another frontend. So in the end it simply means that you are taking an existing concept and apply it half-heartedly and short-sighted: I might be wrong but it seems you have a.nix viewpoint, are not used to working with bundles and therefore re-inventing them differently. There are in fact 'real' bundles on many Linux systems, have a look at pcsc-litee.g.
This driver bundle has the default extension of.bundle, obviously not being opened as a document by a user, but users do start up virtual machines with QEMU so a custom extension is useful and necessary to detect that the directory represents in fact a bundle and more specifically a QEMU machine bundle. This is probably true.
I never intended to implement the full concept of a bundle. Again, I was looking for a way to avoid writing gigantic command lines; a way that would have consensus in the QEMU community.
As I said in my last mail, the config file switch seems more suited to do this. For what I intended to solve, implementing the whole 'bundle' thing is overkill. I'd rather not move the complexity of the 'bundle' into QEMU, but rather leave it on the frontends. So, let's just have a simple way of storing command line options in a config file; a way that does not conflict with existing frontends. Cheers, Jorge.
June 14, 2017, 3:17 a.m. UTC Programs running inside of QEMU can sometimes use more CPU time than is really needed. To solve this problem, we just need to throttle the virtual CPU.
This feature will stop laptops from burning up. This patch adds a menu called Speed that has menu items from 100% to 1% that represent the speed options.
100% is full speed and 1% is slowest. Fillable online how to sync calendars in outlook for mac. Signed-off-by: John Arbuckle - v3 changes: Changed the item deselection loop.
Moved speed calculation equation to main function. Replaced '%c' with '%%'. Changed how 100% menu item is made. V2 changes: Fixed missing space with 'if' and 'for' structures. Fixed tab damage. Use loop to create menu items.
Changed name of menu items to use percentages. Use tags to determine selected menu item. Ui/cocoa.m 55 1 file changed, 55 insertions(+) Comments.
June 14, 2017, 3:28 a.m. UTC Hi, This series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally.