Accepting request 587590 from home:bfrogers:branches:Virtualization

Fix issue with key mapping. Also update supported docs wrt SEV QMP commands.

OBS-URL: https://build.opensuse.org/request/show/587590
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=400
This commit is contained in:
Bruce Rogers 2018-03-15 17:39:43 +00:00 committed by Git OBS Bridge
parent 57065e7189
commit f7aec4e3fe
12 changed files with 71 additions and 4 deletions

View File

@ -1,4 +1,4 @@
From f49122e7d4af62fa2cb8ab1a7ae8aff67a62a475 Mon Sep 17 00:00:00 2001
From 2327abe59d36fda675560f955923a638fd1eed0d Mon Sep 17 00:00:00 2001
From: Lin Ma <lma@suse.com>
Date: Wed, 14 Mar 2018 14:31:26 +0800
Subject: [PATCH] smbios: Add 1 terminator if any string fields defined in

View File

@ -0,0 +1,32 @@
From 3c263c86795e5c2325ccdc4ac098a37c60eeb8c4 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Wed, 20 Dec 2017 15:43:07 -0800
Subject: [PATCH] Remove problematic 'evdev 86' key from en-us keymap
This causes LP#1738283. Gerd will have to come up with a better
fix, but just hacking out the problematic key definition should
work for now.
[BR: We see this issue as well, eg via vnc]
Signed-off-by: Bruce Rogers <brogers@suse.com>
---
pc-bios/keymaps/en-us | 6 ------
1 file changed, 6 deletions(-)
diff --git a/pc-bios/keymaps/en-us b/pc-bios/keymaps/en-us
index a70e03adc0..e518a9dc35 100644
--- a/pc-bios/keymaps/en-us
+++ b/pc-bios/keymaps/en-us
@@ -343,12 +343,6 @@ KP_Decimal 0x53 numlock
# evdev 85 (0x55): no evdev -> QKeyCode mapping (xkb keysym NoSymbol)
-# evdev 86 (0x56), QKeyCode "less", number 0x56
-less 0x56
-greater 0x56 shift
-bar 0x56 altgr
-brokenbar 0x56 shift altgr
-
# evdev 87 (0x57), QKeyCode "f11", number 0x57
F11 0x57

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 14 18:41:50 UTC 2018 - brogers@suse.com
- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11
* Patches added:
0078-Remove-problematic-evdev-86-key-fro.patch
-------------------------------------------------------------------
Wed Mar 14 06:38:40 UTC 2018 - lma@suse.com

View File

@ -19,7 +19,7 @@
Name: qemu-linux-user
Url: http://www.qemu.org/
Summary: CPU emulator for user space
License: BSD-3-Clause AND GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+ AND MIT
License: BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
Group: System/Emulators/PC
Version: 2.11.1
Release: 0
@ -103,6 +103,7 @@ Patch0074: 0074-cpu-i386-populate-CPUID-0x8000_001F.patch
Patch0075: 0075-migration-warn-about-inconsistent-s.patch
Patch0076: 0076-smbios-support-setting-OEM-strings-.patch
Patch0077: 0077-smbios-Add-1-terminator-if-any-stri.patch
Patch0078: 0078-Remove-problematic-evdev-86-key-fro.patch
# Please do not add QEMU patches manually here.
# Run update_git.sh to regenerate this queue.
Source400: update_git.sh
@ -209,6 +210,7 @@ syscall layer occurs on the native hardware and operating system.
%patch0075 -p1
%patch0076 -p1
%patch0077 -p1
%patch0078 -p1
%build
./configure \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 14 18:41:48 UTC 2018 - brogers@suse.com
- Fix issue with key codes in qemu v2.11
0078-Remove-problematic-evdev-86-key-fro.patch
- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11
-------------------------------------------------------------------
Wed Mar 14 06:38:36 UTC 2018 - lma@suse.com

View File

@ -107,7 +107,7 @@
Name: qemu-testsuite
Url: http://www.qemu.org/
Summary: Machine emulator and virtualizer
License: BSD-3-Clause AND GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+ AND MIT
License: BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
Group: System/Emulators/PC
Version: 2.11.1
Release: 0
@ -207,6 +207,7 @@ Patch0074: 0074-cpu-i386-populate-CPUID-0x8000_001F.patch
Patch0075: 0075-migration-warn-about-inconsistent-s.patch
Patch0076: 0076-smbios-support-setting-OEM-strings-.patch
Patch0077: 0077-smbios-Add-1-terminator-if-any-stri.patch
Patch0078: 0078-Remove-problematic-evdev-86-key-fro.patch
# Please do not add QEMU patches manually here.
# Run update_git.sh to regenerate this queue.
@ -883,6 +884,7 @@ This package provides a service file for starting and stopping KSM.
%patch0075 -p1
%patch0076 -p1
%patch0077 -p1
%patch0078 -p1
%if 0%{?suse_version} > 1320
%patch1000 -p1

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 14 18:41:48 UTC 2018 - brogers@suse.com
- Fix issue with key codes in qemu v2.11
0078-Remove-problematic-evdev-86-key-fro.patch
- Patch queue updated from git://github.com/openSUSE/qemu.git opensuse-2.11
-------------------------------------------------------------------
Wed Mar 14 06:38:36 UTC 2018 - lma@suse.com

View File

@ -107,7 +107,7 @@
Name: qemu
Url: http://www.qemu.org/
Summary: Machine emulator and virtualizer
License: BSD-3-Clause AND GPL-2.0 AND GPL-2.0+ AND LGPL-2.1+ AND MIT
License: BSD-3-Clause AND GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT
Group: System/Emulators/PC
Version: 2.11.1
Release: 0
@ -207,6 +207,7 @@ Patch0074: 0074-cpu-i386-populate-CPUID-0x8000_001F.patch
Patch0075: 0075-migration-warn-about-inconsistent-s.patch
Patch0076: 0076-smbios-support-setting-OEM-strings-.patch
Patch0077: 0077-smbios-Add-1-terminator-if-any-stri.patch
Patch0078: 0078-Remove-problematic-evdev-86-key-fro.patch
# Please do not add QEMU patches manually here.
# Run update_git.sh to regenerate this queue.
@ -883,6 +884,7 @@ This package provides a service file for starting and stopping KSM.
%patch0075 -p1
%patch0076 -p1
%patch0077 -p1
%patch0078 -p1
%if 0%{?suse_version} > 1320
%patch1000 -p1

View File

@ -716,6 +716,8 @@ QEMU Command-Line and Monitor Syntax and Support
nbd-server-add
nbd-server-start
nbd-server-stop
query-sev
query-sev-launch-measure
x-blockdev-change
x-blockdev-insert-medium
x-blockdev-remove-medium

View File

@ -654,6 +654,8 @@ QEMU Command-Line and Monitor Syntax and Support
nbd-server-add
nbd-server-start
nbd-server-stop
query-sev
query-sev-launch-measure
x-blockdev-change
x-blockdev-insert-medium
x-blockdev-remove-medium

View File

@ -679,6 +679,8 @@ QEMU Command-Line and Monitor Syntax and Support
nbd-server-add
nbd-server-start
nbd-server-stop
query-sev
query-sev-launch-measure
query-tpm
query-tpm-models
query-tpm-types

View File

@ -774,6 +774,8 @@ QEMU Command-Line and Monitor Syntax and Support
nbd-server-add
nbd-server-start
nbd-server-stop
query-sev
query-sev-launch-measure
x-blockdev-change
x-blockdev-insert-medium
x-blockdev-remove-medium