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

[Xen-devel] [PATCH][XM] Extend width of ID to 5.


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Fri, 20 Apr 2007 13:40:02 +0200
  • Delivery-date: Fri, 20 Apr 2007 04:39:52 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AceDQKIKOXLWjve9TWGoVJzWQYzoWw==
  • Thread-topic: [PATCH][XM] Extend width of ID to 5.

The Domain ID is currently expected to fit in 3 digits. 

When doing extensive testing on SAVE/RESTORE I can easily get ID's into
the 4-digit range, which makes some of the formatting to get out of
sync. 

Attached (trivial) patch extends the width to 5 digits (and changes some
%-ns to %ns, as the ID for example is right justified, %-ns is
left-justified, which didn't look too good). 

I'm fine with this going into Xen-unstable only, as it's not really of
any functional importance - it just makes things look a bit tidier with
large DOMID numbers. 

Signed off by: Mats Petersson <mats.petersson@xxxxxxx>. 

--
Mats

Attachment: patch.extend_domid_width
Description: patch.extend_domid_width

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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