rpms/xenner/F-9 xenner-smp64.diff,NONE,1.1 xenner.spec,1.18,1.19

Gerd Hoffmann (kraxel) fedora-extras-commits at redhat.com
Thu Jul 17 20:58:09 UTC 2008


Author: kraxel

Update of /cvs/pkgs/rpms/xenner/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28012

Modified Files:
	xenner.spec 
Added Files:
	xenner-smp64.diff 
Log Message:
fix smp on 64-bit

xenner-smp64.diff:

--- NEW FILE xenner-smp64.diff ---
Index: emu64.S
===================================================================
RCS file: /home/cvsroot/xenner/emu64.S,v
retrieving revision 1.37
diff -u -p -r1.37 emu64.S
--- emu64.S	14 Jul 2008 13:15:45 -0000	1.37
+++ emu64.S	17 Jul 2008 20:44:23 -0000
@@ -267,7 +267,8 @@ ENTRY(broken_memcpy_pf)
 	.code16
 	.align 4096
 ENTRY(sipi)
-	out %al, $0xe2
+	mov $0x00060000, %eax  /* EMUDEV_CMD_INIT_SECONDARY_VCPU */
+	outl %eax, $0xe8       /* EMUDEV_REG_COMMAND */
 	hlt
 	.code64
 


Index: xenner.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xenner/F-9/xenner.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- xenner.spec	17 Jul 2008 20:01:13 -0000	1.18
+++ xenner.spec	17 Jul 2008 20:57:25 -0000	1.19
@@ -1,10 +1,11 @@
 Name:         xenner
 License:      GPLv2+
 Version:      0.40
-Release:      1%{?dist}
+Release:      2%{?dist}
 Summary:      Xen emulator for kvm
 Group:        Applications/Emulators
 Source:       %{name}-%{version}.tar.gz
+Patch0:       %{name}-smp64.diff
 URL:          http://dl.bytesex.org/releases/%{name}/%{name}-%{version}.tar.gz
 Requires:     xen-runtime
 Provides:     xen-hypervisor-abi = 3.2
@@ -23,6 +24,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 export CFLAGS="%{optflags}"
@@ -57,6 +59,8 @@
 rm -rf %{buildroot}
 
 %changelog
+* Thu Jul 17 2008 Gerd Hoffmann <kraxel at redhat.com> - 0.40-2.fc9
+- fix smp on 64-bit.
 * Thu Jul 17 2008 Gerd Hoffmann <kraxel at redhat.com> - 0.40-1.fc9
 - update to version 0.40
   - fix opensuse 11 and recent pv_ops kernels.




More information about the fedora-extras-commits mailing list