Skip to contentSkip to conversation

configure: Rename CONFIG_QGA_NTDDDISK into CONFIG_QGA_NTDDSCSI

PATCH Applied Thomas Huth 2 participants 4 messages Jun 10, 2016 – Jul 21, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Rename CONFIG_QGA_NTDDDISK into CONFIG_QGA_NTDDSCSI

There is no CONFIG_QGA_NTDDDISK define used anywhere in the QEMU sources. Looking at the changelog and qga/commands-win32.c, it seems like this should be called CONFIG_QGA_NTDDSCSI instead.

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 8c2f90b..55019d6 100755
@@ -4965,7 +4965,7 @@ if test "$mingw32" = "yes" ; then
     echo "WIN_SDK=\"$win_sdk\"" >> $config_host_mak
   fi
   if test "$guest_agent_ntddscsi" = "yes" ; then
-    echo "CONFIG_QGA_NTDDDISK=y" >> $config_host_mak
+    echo "CONFIG_QGA_NTDDSCSI=y" >> $config_host_mak
   fi
   if test "$guest_agent_msi" = "yes"; then
     echo "QEMU_GA_MSI_ENABLED=yes" >> $config_host_mak  
Signature · 1 line
1.8.3.1
#1 lore raw

Quoting Thomas Huth (2016-06-10 10:25:54)

Quoted 5 lines

There is no CONFIG_QGA_NTDDDISK define used anywhere in the QEMU sources. Looking at the changelog and qga/commands-win32.c, it seems like this should be called CONFIG_QGA_NTDDSCSI instead.

Yikes, this does appear to be the case. Need to recheck the original functionality since apparently it's been disabled ever since I added this patch to the original series, but can take this in through my tree.

Cc'ing qemu-stable

Quoted 20 lines
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 8c2f90b..55019d6 100755
@@ -4965,7 +4965,7 @@ if test "$mingw32" = "yes" ; then
     echo "WIN_SDK=\"$win_sdk\"" >> $config_host_mak
   fi
   if test "$guest_agent_ntddscsi" = "yes" ; then
-    echo "CONFIG_QGA_NTDDDISK=y" >> $config_host_mak
+    echo "CONFIG_QGA_NTDDSCSI=y" >> $config_host_mak
   fi
   if test "$guest_agent_msi" = "yes"; then
     echo "QEMU_GA_MSI_ENABLED=yes" >> $config_host_mak  
Signature · 1 line
1.8.3.1
Applied
#2 lore raw
In reply to Thomas Huth

Quoting Thomas Huth (2016-06-10 10:25:54)

Quoted 5 lines

There is no CONFIG_QGA_NTDDDISK define used anywhere in the QEMU sources. Looking at the changelog and qga/commands-win32.c, it seems like this should be called CONFIG_QGA_NTDDSCSI instead.

Thanks, applied to qga tree:
https://github.com/mdroth/qemu/commits/qga

Although this did indeed uncover a bug in guest-get-fsinfo. Should have a fix soon, but will want that in place before I send a pull.

Quoted 20 lines
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 8c2f90b..55019d6 100755
@@ -4965,7 +4965,7 @@ if test "$mingw32" = "yes" ; then
     echo "WIN_SDK=\"$win_sdk\"" >> $config_host_mak
   fi
   if test "$guest_agent_ntddscsi" = "yes" ; then
-    echo "CONFIG_QGA_NTDDDISK=y" >> $config_host_mak
+    echo "CONFIG_QGA_NTDDSCSI=y" >> $config_host_mak
   fi
   if test "$guest_agent_msi" = "yes"; then
     echo "QEMU_GA_MSI_ENABLED=yes" >> $config_host_mak  
Signature · 1 line
1.8.3.1
#3 lore raw

Quoting Michael Roth (2016-06-30 14:04:15)

Quoted 5 lines

Quoting Thomas Huth (2016-06-10 10:25:54)

Quoted 4 lines

There is no CONFIG_QGA_NTDDDISK define used anywhere in the QEMU sources. Looking at the changelog and qga/commands-win32.c, it seems like this should be called CONFIG_QGA_NTDDSCSI instead.

Quoted 8 lines
Quoted 1 line

Thanks, applied to qga tree:
https://github.com/mdroth/qemu/commits/qga

Although this did indeed uncover a bug in guest-get-fsinfo. Should have a fix soon, but will want that in place before I send a pull.

So, that fix turned into a fairly heavy rework of how we map PCI devices to filesystems in the current w32 implementation of guest-get-fsinfo and I still don't quite have it working. It probably won't make 2.7 at this point.

Unfortunately, as things stand, enabling the disk info support on w32 via your patch causes the entire command to fail, which would be a regression from the current support level.

So for now I think the most expedient thing to do would be to hold off on this patch till 2.8, at which point we can apply it along with the disk info fixes I'm working on.

Quoted 23 lines
Quoted 21 lines
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 8c2f90b..55019d6 100755
@@ -4965,7 +4965,7 @@ if test "$mingw32" = "yes" ; then
     echo "WIN_SDK=\"$win_sdk\"" >> $config_host_mak
   fi
   if test "$guest_agent_ntddscsi" = "yes" ; then
-    echo "CONFIG_QGA_NTDDDISK=y" >> $config_host_mak
+    echo "CONFIG_QGA_NTDDSCSI=y" >> $config_host_mak
   fi
   if test "$guest_agent_msi" = "yes"; then
     echo "QEMU_GA_MSI_ENABLED=yes" >> $config_host_mak  
Signature · 1 line
1.8.3.1