Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ovmf for openSUSE:Factory checked in 
at 2022-01-05 13:39:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ovmf (Old)
 and      /work/SRC/openSUSE:Factory/.ovmf.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ovmf"

Wed Jan  5 13:39:33 2022 rev:71 rq:943676 version:202111

Changes:
--------
--- /work/SRC/openSUSE:Factory/ovmf/ovmf.changes        2021-12-24 
20:23:28.958028930 +0100
+++ /work/SRC/openSUSE:Factory/.ovmf.new.1896/ovmf.changes      2022-01-05 
13:39:57.617535378 +0100
@@ -1,0 +2,10 @@
+Mon Jan  3 12:21:37 UTC 2022 - Joey Lee <j...@suse.com>
+
+- Modified gdb_uefi.py.in for python3 (bsc#1192126)
+    - change 'long' to 'int' 
+    - using
+        print ('
+      instead of
+        print "
+
+-------------------------------------------------------------------
@@ -35 +45 @@
-    - Patches (git log --oneline --reverse 
edk2-stable202105~..edk2-stable202108):
+    - Patches (git log --oneline --reverse 
edk2-stable202108~..edk2-stable202111):
@@ -288,0 +299,5 @@
+    - The edk2-stable202111 includes the following patches for bsc#1192126
+      to fix unlimited reset. (bsc#1192126)
+        80e67af9af OvmfPkg: introduce a common work area
+        ab77b6031b OvmfPkg/ResetVector: update SEV support to use new work 
area format
+        b9af5037b2 OvmfPkg/ResetVector: move the GHCB page setup in AmdSev.asm

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ovmf.spec ++++++
--- /var/tmp/diff_new_pack.mHCRIJ/_old  2022-01-05 13:39:58.369535969 +0100
+++ /var/tmp/diff_new_pack.mHCRIJ/_new  2022-01-05 13:39:58.373535972 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ovmf
 #
-# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # needssslcertforbuild
 
@@ -27,7 +27,7 @@
 Summary:        Open Virtual Machine Firmware
 License:        BSD-2-Clause-Patent
 Group:          System/Emulators/PC
-Url:            https://github.com/tianocore/edk2
+URL:            https://github.com/tianocore/edk2
 Source0:        edk2-edk2-stable%{version}.tar.gz
 Source1:        
https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz
 Source111:      
https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz.asc


++++++ gdb_uefi.py.in ++++++
--- /var/tmp/diff_new_pack.mHCRIJ/_old  2022-01-05 13:39:58.453536035 +0100
+++ /var/tmp/diff_new_pack.mHCRIJ/_new  2022-01-05 13:39:58.457536038 +0100
@@ -46,7 +46,7 @@
     CV_MTOC = 0x434F544D
     DOS_MAGIC = 0x5A4D
     PE32PLUS_MAGIC = 0x20b
-    EST_SIGNATURE = 0x5453595320494249L
+    EST_SIGNATURE = 0x5453595320494249
     DEBUG_GUID = [0x49152E77, 0x1ADA, 0x4764,
                   [0xB7,0xA2,0x7A,0xFE,
                    0xFE,0xD9,0x5E, 0x8B]]
@@ -94,7 +94,7 @@
     def set_field (self, value, field_name, data):
         gdb.execute ("set *(%s *) 0x%x = 0x%x" % \
                          (str (value[field_name].type), \
-                              long (value[field_name].address), \
+                              int (value[field_name].address), \
                               data))
 
     #
@@ -124,15 +124,15 @@
         while True:
             estp = gdb.Value(address).cast(estp_t)
             if estp['Signature'] == self.EST_SIGNATURE:
-                oldcrc = long (estp['Crc32'])
+                oldcrc = int (estp['Crc32'])
                 self.set_field (estp, 'Crc32', 0)
                 newcrc = self.crc32 (self.value_data (estp.dereference (), 0))
-                self.set_field (estp, 'Crc32', long (oldcrc))
+                self.set_field (estp, 'Crc32', int (oldcrc))
                 if newcrc == oldcrc:
                     return estp['EfiSystemTableBase']
 
             address = address + 4*1024*1024
-            if long (address) == 0:
+            if int (address) == 0:
                 return gdb.Value(self.EINVAL)
 
     #
@@ -172,7 +172,7 @@
 
     def offsetof (self, typename, field):
         t = gdb.Value (0).cast (self.ptype (typename))
-        return long (t[field].address)
+        return int (t[field].address)
 
     #
     # Returns sizeof of a type.
@@ -259,7 +259,7 @@
             sym_name = re.sub(r"\.dll$", ".debug", sym_name)
             syms.append ("add-symbol-file %s 0x%x" % \
                              (sym_name,
-                              long (base)))
+                              int (base)))
 
     #
     # Parses table EFI_DEBUG_IMAGE_INFO structures, builds
@@ -276,13 +276,13 @@
                 entry = entry['NormalImage']
                 self.parse_image(entry['LoadedImageProtocolInstance'], syms)
             else:
-                print "Skipping unknown EFI_DEBUG_IMAGE_INFO (Type 0x%x)" % \
-                entry['ImageInfoType'].dereference ()
+                print ('Skipping unknown EFI_DEBUG_IMAGE_INFO (Type 0x%x)' % \
+                entry['ImageInfoType'].dereference ())
             index = index + 1
         gdb.execute ("symbol-file")
-        print "Loading new symbols..."
+        print ('Loading new symbols...')
         for sym in syms:
-            print sym
+            print (sym)
             gdb.execute (sym)
 
     #
@@ -293,10 +293,10 @@
     def parse_dh (self, dh):
         dh_t = self.ptype ('EFI_DEBUG_IMAGE_INFO_TABLE_HEADER')
         dh = dh.cast (dh_t)
-        print "DebugImageInfoTable @ 0x%x, 0x%x entries" \
-            % (long (dh['EfiDebugImageInfoTable']), dh['TableSize'])
+        print ('DebugImageInfoTable @ 0x%x, 0x%x entries' \
+            % (int (dh['EfiDebugImageInfoTable']), dh['TableSize']))
         if dh['UpdateStatus'] & self.DEBUG_IS_UPDATING:
-            print "EfiDebugImageInfoTable update in progress, retry later"
+            print ('EfiDebugImageInfoTable update in progress, retry later')
             return
         self.parse_edii (dh['EfiDebugImageInfoTable'], dh['TableSize'])
 
@@ -307,17 +307,17 @@
     def parse_est (self, est):
         est_t = self.ptype ('EFI_SYSTEM_TABLE')
         est = est.cast (est_t)
-        print "Connected to %s (Rev. 0x%x)" % \
+        print ('Connected to %s (Rev. 0x%x)' % \
             (self.parse_utf16 (est['FirmwareVendor']), \
-                 long (est['FirmwareRevision']))
-        print "ConfigurationTable @ 0x%x, 0x%x entries" \
-            % (long (est['ConfigurationTable']), est['NumberOfTableEntries'])
+                 int (est['FirmwareRevision'])))
+        print ('ConfigurationTable @ 0x%x, 0x%x entries' \
+            % (int (est['ConfigurationTable']), est['NumberOfTableEntries']))
 
         dh = self.search_config(est['ConfigurationTable'],
                                     est['NumberOfTableEntries'],
                                     self.DEBUG_GUID)
         if dh == self.EINVAL:
-            print "No EFI_DEBUG_IMAGE_INFO_TABLE_HEADER"
+            print ('No EFI_DEBUG_IMAGE_INFO_TABLE_HEADER')
             return
         self.parse_dh (dh)
 
@@ -326,7 +326,7 @@
     #
 
     def usage (self):
-        print "Usage: reload-uefi [-o] /path/to/GdbSyms.dll"
+        print ('Usage: reload-uefi [-o] /path/to/GdbSyms.dll')
 
     #
     # Handler for reload-uefi.
@@ -336,7 +336,7 @@
         args = arg.split(' ')
         try:
             opts, args = getopt.getopt(args, "o", ["offset-by-headers"])
-        except getopt.GetoptError, err:
+        except (getopt.GetoptError, err):
             self.usage ()
             return
         for opt, arg in opts:
@@ -347,17 +347,17 @@
             self.usage ()
             return
 
-       # FOR RPM PACKAGE substitute the path of the source code
-       gdb.execute ("set substitute-path "+source_path+" "+gdb_src_path)
+        # FOR RPM PACKAGE substitute the path of the source code
+        gdb.execute ("set substitute-path "+source_path+" "+gdb_src_path)
 
         gdb.execute ("symbol-file")
         gdb.execute ("symbol-file %s" % args[0])
         est = self.search_est ()
         if est == self.EINVAL:
-            print "No EFI_SYSTEM_TABLE..."
+            print ('No EFI_SYSTEM_TABLE...')
             return
 
-        print "EFI_SYSTEM_TABLE @ 0x%x" % est
+        print ('EFI_SYSTEM_TABLE @ 0x%x' % est)
         self.parse_est (est)
 
 ReloadUefi ()

Reply via email to