Index: /trunk/src/VBox/Main/ConsoleImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/ConsoleImpl.cpp	(revision 8133)
+++ /trunk/src/VBox/Main/ConsoleImpl.cpp	(revision 8134)
@@ -1856,5 +1856,5 @@
         case DeviceType_Floppy:
         {
-            for (unsigned i = 0; i < ELEMENTS(mapFDLeds); i++)
+            for (unsigned i = 0; i < RT_ELEMENTS(mapFDLeds); i++)
                 SumLed.u32 |= readAndClearLed(mapFDLeds[i]);
             break;
@@ -1872,5 +1872,5 @@
             SumLed.u32 |= readAndClearLed(mapIDELeds[1]);
             SumLed.u32 |= readAndClearLed(mapIDELeds[3]);
-            for (unsigned i = 0; i < ELEMENTS(mapSATALeds); i++)
+            for (unsigned i = 0; i < RT_ELEMENTS(mapSATALeds); i++)
                 SumLed.u32 |= readAndClearLed(mapSATALeds[i]);
             break;
@@ -1879,5 +1879,5 @@
         case DeviceType_Network:
         {
-            for (unsigned i = 0; i < ELEMENTS(mapNetworkLeds); i++)
+            for (unsigned i = 0; i < RT_ELEMENTS(mapNetworkLeds); i++)
                 SumLed.u32 |= readAndClearLed(mapNetworkLeds[i]);
             break;
@@ -1886,5 +1886,6 @@
         case DeviceType_USB:
         {
-            SumLed.u32 |= readAndClearLed(mapUSBLed);
+            for (unsigned i = 0; i < RT_ELEMENTS(mapUSBLed); i++)
+                SumLed.u32 |= readAndClearLed(mapUSBLed[i]);
             break;
         }
Index: /trunk/src/VBox/Main/ConsoleImpl2.cpp
===================================================================
--- /trunk/src/VBox/Main/ConsoleImpl2.cpp	(revision 8133)
+++ /trunk/src/VBox/Main/ConsoleImpl2.cpp	(revision 8134)
@@ -1501,5 +1501,5 @@
             rc = CFGMR3InsertString(pLunL0, "Driver",               "MainStatus");      RC_CHECK();
             rc = CFGMR3InsertNode(pLunL0,   "Config", &pCfg);                           RC_CHECK();
-            rc = CFGMR3InsertInteger(pCfg,  "papLeds", (uintptr_t)&pConsole->mapUSBLed);RC_CHECK();
+            rc = CFGMR3InsertInteger(pCfg,  "papLeds", (uintptr_t)&pConsole->mapUSBLed[0]);RC_CHECK();
             rc = CFGMR3InsertInteger(pCfg,  "First",    0);                             RC_CHECK();
             rc = CFGMR3InsertInteger(pCfg,  "Last",     0);                             RC_CHECK();
@@ -1528,5 +1528,5 @@
                 rc = CFGMR3InsertString(pLunL0, "Driver",               "MainStatus");      RC_CHECK();
                 rc = CFGMR3InsertNode(pLunL0,   "Config", &pCfg);                           RC_CHECK();
-                rc = CFGMR3InsertInteger(pCfg,  "papLeds", (uintptr_t)&pConsole->mapUSBLed);RC_CHECK();
+                rc = CFGMR3InsertInteger(pCfg,  "papLeds", (uintptr_t)&pConsole->mapUSBLed[1]);RC_CHECK();
                 rc = CFGMR3InsertInteger(pCfg,  "First",    0);                             RC_CHECK();
                 rc = CFGMR3InsertInteger(pCfg,  "Last",     0);                             RC_CHECK();
Index: /trunk/src/VBox/Main/include/ConsoleImpl.h
===================================================================
--- /trunk/src/VBox/Main/include/ConsoleImpl.h	(revision 8133)
+++ /trunk/src/VBox/Main/include/ConsoleImpl.h	(revision 8134)
@@ -512,5 +512,5 @@
     PPDMLED     mapNetworkLeds[8];
     PPDMLED     mapSharedFolderLed;
-    PPDMLED     mapUSBLed;
+    PPDMLED     mapUSBLed[2];
 #ifdef VBOX_WITH_UNIXY_TAP_NETWORKING
     Utf8Str     maTAPDeviceName[8];
