|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-api
[Xen-API] [PATCH] CA-34613: Make hp-rombios empty if it is not	"COMPAQ"
 
# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
CA-34613: Make hp-rombios empty if it is not "COMPAQ"
Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>
diff -r e562f0f710e1 ocaml/xapi/bios_strings.ml
--- a/ocaml/xapi/bios_strings.ml        Thu Nov 05 10:20:49 2009 +0000
+++ b/ocaml/xapi/bios_strings.ml        Thu Nov 05 10:24:38 2009 +0000
@@ -80,7 +80,7 @@
                (fun () -> Unix.close mem)
        with _ -> ()
        end;
-       trim (remove_invisible hp_rombios)
+       if trim (remove_invisible hp_rombios) = "COMPAQ" then "COMPAQ" else ""
 
 let set_host_bios_strings ~__context ~host =
        info "Setting host BIOS strings.";
 
ca-34613 
Description: Text document 
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread> |  
- [Xen-API] [PATCH] CA-34613: Make hp-rombios empty if it is not	"COMPAQ",
Rob Hoes <=
  
 |  
  
 | 
    | 
  
  
    |   | 
    |