qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Support T/t for guest memory sizes


From: Jes . Sorensen
Subject: [Qemu-devel] [PATCH] Support T/t for guest memory sizes
Date: Tue, 14 Sep 2010 15:37:54 +0200

From: Jes Sorensen <address@hidden>

Signed-off-by: Jes Sorensen <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]