Index: /trunk/src/VBox/Main/MachineImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/MachineImpl.cpp	(revision 31305)
+++ /trunk/src/VBox/Main/MachineImpl.cpp	(revision 31306)
@@ -8081,9 +8081,5 @@
         if (pMedium)
         {
-            BOOL fHostDrive = FALSE;
-            rc = pMedium->COMGETTER(HostDrive)(&fHostDrive);
-            if (FAILED(rc))
-                return rc;
-            if (fHostDrive)
+            if (pMedium->isHostDrive())
                 dev.strHostDriveSrc = pMedium->getLocation();
             else
Index: /trunk/src/VBox/Main/MediumImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/MediumImpl.cpp	(revision 31305)
+++ /trunk/src/VBox/Main/MediumImpl.cpp	(revision 31306)
@@ -2601,4 +2601,13 @@
 {
     return m->variant;
+}
+
+/**
+ * Internal method which returns true if this medium represents a host drive.
+ * @return
+ */
+bool Medium::isHostDrive() const
+{
+    return m->hostDrive;
 }
 
Index: /trunk/src/VBox/Main/include/MediumImpl.h
===================================================================
--- /trunk/src/VBox/Main/include/MediumImpl.h	(revision 31305)
+++ /trunk/src/VBox/Main/include/MediumImpl.h	(revision 31306)
@@ -159,4 +159,5 @@
     MediumState_T getState() const;
     MediumVariant_T getVariant() const;
+    bool isHostDrive() const;
     const Utf8Str& getLocation() const;
     const Utf8Str& getLocationFull() const;
