Skip to contentSkip to conversation

Fix typo in configure_vtpm

PATCH In review Masaki Kanno 2 participants 2 messages Aug 25, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in configure_vtpm

Hi,

These are typos, aren't these?

Best regards,
Kan

tools/python/xen/xm/create.py +2 -2
diff -r c5125c0ea051 tools/python/xen/xm/create.py
@@ -908,9 +908,9 @@
         if backend:
             config_vtpm.append(['backend', backend])
         if typ:
-            config_vtpm.append(['type', type])
+            config_vtpm.append(['type', typ])
         if uuid:
-            config_vtpm.append(['uuid', type])
+            config_vtpm.append(['uuid', uuid])
         config_devs.append(['device', config_vtpm])
 
 
tools/python/xen/xm/create.py +2 -2
diff -r c5125c0ea051 tools/python/xen/xm/create.py
@@ -908,9 +908,9 @@
         if backend:
             config_vtpm.append(['backend', backend])
         if typ:
-            config_vtpm.append(['type', type])
+            config_vtpm.append(['type', typ])
         if uuid:
-            config_vtpm.append(['uuid', type])
+            config_vtpm.append(['uuid', uuid])
         config_devs.append(['device', config_vtpm])
 
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

Yes, sorry about that.

Quoted 15 lines · Masaki Kanno

Hi,

These are typos, aren't these?

Best regards,
Kan

diff -r c5125c0ea051 tools/python/xen/xm/create.py

tools/python/xen/xm/create.py +0 -0
@@ -908,9 +908,9 @@
         if backend:

tools/python/xen/xm/create.py line 916

Quoted 10 lines
tools/python/xen/xm/create.py +2 -2
             config_vtpm.append(['backend', backend])
         if typ:
-            config_vtpm.append(['type', type])
+            config_vtpm.append(['type', typ])
         if uuid:
-            config_vtpm.append(['uuid', type])
+            config_vtpm.append(['uuid', uuid])
         config_devs.append(['device', config_vtpm])
 
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel