Fix typo in error
PATCH 1/1 Fix typo in error
We increase reservations by exentes not pages.
Signed-off-by Jimi Xenidis <[email protected]>
--
tools/libxc/xc_domain.c +3 -3
@@ -352,7 +352,7 @@ int xc_domain_memory_increase_reservatioif ( err >=0 ) {DPRINTF ("Failed allocation for dom %d: " -"%ld pages order %d addr_bits %d\n" , +"%ld extents of order %d addr_bits %d\n" , domid, nr_extents, extent_order, address_bits); errno =ENOMEM ; err =-1 ;
@@ -390,7 +390,7 @@ int xc_domain_memory_decrease_reservatioif ( err >=0 ) { -DPRINTF ("Failed deallocation for dom %d: %ld pages order %d\n" , +DPRINTF ("Failed deallocation for dom %d: %ld extents of order %d\n" , domid, nr_extents, extent_order); errno =EINVAL ; err =-1 ;
@@ -421,7 +421,7 @@ int xc_domain_memory_populate_physmap(inif ( err >=0 ) { -DPRINTF ("Failed allocation for dom %d: %ld pages order %d\n" , +DPRINTF ("Failed allocation for dom %d: %ld externs of order %d\n" , domid, nr_extents, extent_order); errno =EBUSY ; err =-1 ;
The third diff has "externs" instead of "extents" - was that intentional?
Quoted 40 lines · Jimi Xenidis
We increase reservations by exentes not pages.
Signed-off-by Jimi Xenidis <[email protected]>--
diff -re7a54ea14057tools/libxc/xc_domain.ctools/libxc/xc_domain.c +3
-3@@ -352,7 +352,7 @@ int xc_domain_memory_increase_reservatioif ( err >=0 ) {DPRINTF ("Failed allocation for dom %d: " -"%ld pages order %d addr_bits %d\n" , +"%ld extents of order %d addr_bits %d\n" , domid, nr_extents, extent_order, address_bits); errno =ENOMEM ; err =-1 ;@@ -390,7 +390,7 @@ int xc_domain_memory_decrease_reservatioif ( err >=0 ) { -DPRINTF ("Failed deallocation for dom %d: %ld pages order %d\n" , +DPRINTF ("Failed deallocation for dom %d: %ld extents of order %d\n" , domid, nr_extents, extent_order); errno =EINVAL ; err =-1 ;@@ -421,7 +421,7 @@ int xc_domain_memory_populate_physmap(inif ( err >=0 ) { -DPRINTF ("Failed allocation for dom %d: %ld pages order %d\n" , +DPRINTF ("Failed allocation for dom %d: %ld externs of order %d\n" , domid, nr_extents, extent_order); errno =EBUSY ; err =-1 ;_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Signature · 2 lines
----------------------------------------------------- Russ Blaine | Solaris Kernel | [email protected]
Quoted 1 line · Russ Blaine
The third diff has "externs" instead of "extents" - was that intentional?
Good eye, no its my typo, fingers remember better than my brain sometimes ;-)
Quoted 46 lines
Quoted 39 lines · Jimi Xenidis
We increase reservations by exentes not pages.
Signed-off-by Jimi Xenidis <[email protected]>--
diff -re7a54ea14057tools/libxc/xc_domain.ctools/libxc/xc_domain.c +2
-2@@ -352,7 +352,7 @@ int xc_domain_memory_increase_reservatioif ( err >=0 ) {DPRINTF ("Failed allocation for dom %d: " -"%ld pages order %d addr_bits %d\n" , +"%ld extents of order %d addr_bits %d\n" , domid, nr_extents, extent_order, address_bits); errno =ENOMEM ; err =-1 ;@@ -390,7 +390,7 @@ int xc_domain_memory_decrease_reservatioif ( err >=0 ) { -DPRINTF ("Failed deallocation for dom %d: %ld pages order % d\n", + DPRINTF("Failed deallocation for dom %d: %ld extents of order %d\n",domid ,nr_extents ,extent_order ); errno =EINVAL ;err = -1;tools/libxc/xc_domain.c +1
-1@@ -421,7 +421,7 @@ int xc_domain_memory_populate_physmap(inif ( err >=0 ) { -DPRINTF ("Failed allocation for dom %d: %ld pages order %d \n", + DPRINTF("Failed allocation for dom %d: %ld externs of order %d\n", domid, nr_extents, extent_order); errno =EBUSY ;err = -1;_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-develSignature · 2 lines
----------------------------------------------------- Russ Blaine | Solaris Kernel | [email protected]