|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH 02/17] xenpaging: remove perror usage in	xenpaging_in
 
Use the libxc error macro to report errors if initialising xenpaging
fails. Also report the actual errno string.
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 tools/xenpaging/xenpaging.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- xen-unstable.hg-4.1.22459.orig/tools/xenpaging/xenpaging.c
+++ xen-unstable.hg-4.1.22459/tools/xenpaging/xenpaging.c
@@ -141,7 +141,7 @@ xenpaging_t *xenpaging_init(xc_interface
                 ERROR("EPT not supported for this guest");
                 break;
             default:
-                perror("Error initialising shared page");
+                ERROR("Error initialising shared page: %s", strerror(errno));
                 break;
         }
         goto err;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH 00/17] xenpaging changes for xen-unstable, Olaf Hering
- [Xen-devel] [PATCH 04/17] xenpaging: print number of evicted pages, Olaf Hering
 
- [Xen-devel] [PATCH 09/17] xenpaging: update	machine_to_phys_mapping[] during page deallocation, Olaf Hering
 
- [Xen-devel] [PATCH 01/17] xenpaging: close xch handle in	xenpaging_init error path, Olaf Hering
 
- [Xen-devel] [PATCH 02/17] xenpaging: remove perror usage in	xenpaging_init error path,
Olaf Hering <=
 
- [Xen-devel] [PATCH 03/17] xenpaging: print DPRINTF ouput if	XENPAGING_DEBUG is in environment, Olaf Hering
 
- [Xen-devel] [PATCH 06/17] xenpaging: do not use DPRINTF/ERROR if	xch handle is unavailable, Olaf Hering
 
- [Xen-devel] [PATCH 14/17] xenpaging: prevent page-out of first 16MB, Olaf Hering
 
- [Xen-devel] [PATCH 08/17] xenpaging: make vcpu_sleep_nosync()	optional in mem_event_check_ring(), Olaf Hering
 
- [Xen-devel] [PATCH 10/17] xenpaging: update	machine_to_phys_mapping[] during page-in, Olaf Hering
 
- [Xen-devel] [PATCH 07/17] xenpaging: update xch usage, Olaf Hering
 
- [Xen-devel] [PATCH 05/17] xenpaging: remove duplicate	xc_interface_close call, Olaf Hering
 
- [Xen-devel] [PATCH 13/17] xenpaging: page only pagetables for	debugging, Olaf Hering
 
 
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |