From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] [RFC] Variable video ram size option - revised
Date: Wed, 21 Jan 2009 18:23:52 +0000 [thread overview]
Message-ID: <20090121182351.GB3122@redhat.com> (raw)
In-Reply-To: <49776477.4020204@eu.citrix.com>
On Wed, Jan 21, 2009 at 01:07:51PM -0500, Trolle Selander wrote:
> Hi all,
>
> This is an updated version of the patch after the suggestions/discussion
> on the list. It also includes different handling of how the -vga option
> is handled internally, replacing the multiple
> independent-yet-mutually-exclusive xxx_vga_enabled variables with one
> vgahw_model variable, and also includes the -vga none option added by
> Stefano in the time since my last version of this patch. Further
> comments & testing welcome. :)
> @@ -4933,6 +4930,13 @@
> case QEMU_OPTION_vga:
> select_vgahw (optarg);
> break;
> + case QEMU_OPTION_videoram:
> + {
> + char *ptr;
> + vga_ram_size = strtol(optarg,&ptr,10);
> + vga_ram_size *= 1024 * 1024;
> + }
> + break;
> case QEMU_OPTION_g:
> {
> const char *p;
Rather than adding more add hoc extra parameters for VGA tunables, we
should just make -vga work like the other generic device args, accepting
a optional list comma separated values following it
eg
-vga cirrus,ram=32
Regards,
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
next prev parent reply other threads:[~2009-01-21 18:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-09 19:45 [Qemu-devel] [PATCH] [RFC] Variable video ram size option Trolle Selander
2009-01-10 0:02 ` Paul Brook
2009-01-10 1:26 ` Trolle Selander
2009-01-10 6:45 ` Blue Swirl
[not found] ` <4967E7D7.4040605@eu.citrix.com>
[not found] ` <200901091716.00827.paul@codesourcery.com>
2009-01-10 1:27 ` Trolle Selander
[not found] ` <4967ECA7.6040809@eu.citrix.com>
[not found] ` <200901091747.06462.paul@codesourcery.com>
2009-01-10 1:28 ` Trolle Selander
2009-01-10 1:47 ` Jamie Lokier
2009-01-11 7:53 ` Avi Kivity
2009-01-12 17:43 ` Trolle Selander
2009-01-21 18:07 ` [Qemu-devel] [PATCH] [RFC] Variable video ram size option - revised Trolle Selander
2009-01-21 18:23 ` Daniel P. Berrange [this message]
2009-01-21 21:51 ` Anthony Liguori
2009-01-21 21:21 ` [Qemu-devel] " Trolle Selander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090121182351.GB3122@redhat.com \
--to=berrange@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).