qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Support T/t for guest memory sizes
@ 2010-09-14 13:37 Jes.Sorensen
  2010-09-14 14:00 ` [Qemu-devel] " Anthony Liguori
  0 siblings, 1 reply; 3+ messages in thread
From: Jes.Sorensen @ 2010-09-14 13:37 UTC (permalink / raw)
  To: qemu-devel

From: Jes Sorensen <Jes.Sorensen@redhat.com>

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
---
 vl.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/vl.c b/vl.c
index 3f45aa9..0663f2f 100644
--- a/vl.c
+++ b/vl.c
@@ -2176,6 +2176,9 @@ int main(int argc, char **argv, char **envp)
                 case 'G': case 'g':
                     value <<= 30;
                     break;
+                case 'T': case 't':
+                    value <<= 40;
+                    break;
                 default:
                     fprintf(stderr, "qemu: invalid ram size: %s\n", optarg);
                     exit(1);
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-09-14 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-14 13:37 [Qemu-devel] [PATCH] Support T/t for guest memory sizes Jes.Sorensen
2010-09-14 14:00 ` [Qemu-devel] " Anthony Liguori
2010-09-14 14:41   ` Jes Sorensen

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).