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

[Xen-API] [PATCH] CA-34613: Make hp-rombios empty if it is not "COMPAQ"


  • To: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Rob Hoes <rob.hoes@xxxxxxxxxx>
  • Date: Thu, 5 Nov 2009 10:41:46 +0000
  • Delivery-date: Thu, 05 Nov 2009 02:42:01 -0800
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

# 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.";

Attachment: ca-34613
Description: Text document

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.