Skip to contentSkip to conversation

SUPPORT.md: Clarify that the PV keyboard protocol includes mouse support

PATCH In review George Dunlap 4 participants 9 messages Mar 9, 2018 – Mar 13, 2018

lore
Share & tools
lore
#1 lore raw

PATCH 2/3 SUPPORT.md: Specify support for various image formats

In reply to George Dunlap

QEMU supports various image formats, but we only provide security support for raw, qcow, qcow2, and vhd formats.

Rather than duplicate this information under the "x86/Emulated storage" section, just refer to the "Blkback" section.

---
This is a candidate for backport to 4.10.

Other option I explored was giving each format its own entry, like this:

#### Image format: Raw

Status, Linux (xen-blkback): Supported
Status, QEMU (xen_disk): Supported
Status, FreeBSD (blkback): Supported, Security support external Status, NetBSD (xbdback): Supported, security support external Status, Blktap2: Deprecated

But that led to a lot of duplication (Everything is listed as "supported" once under "Blkback", and once under "Image format: Raw").

CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
CC Tim Deegan <[email protected]>
CC Konrad Wilk <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Julien Grall <[email protected]>
CC Roger Pau Monne <[email protected]>
CC Anthony Perard <[email protected]>
CC Lars Kurth <[email protected]>
---
 SUPPORT.md | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
SUPPORT.md +10 -3
index 87d07129b4..ee65d45b24 100644
@@ -421,12 +421,17 @@ unless otherwise noted.
 ### Blkback
 
     Status, Linux (xen-blkback): Supported
-    Status, QEMU (xen_disk): Supported
+    Status, QEMU (xen_disk), raw format: Supported
+    Status, QEMU (xen_disk), qcow format: Supported
+    Status, QEMU (xen_disk), qcow2 format: Supported
+    Status, QEMU (xen_disk), vhd format: Supported
     Status, FreeBSD (blkback): Supported, Security support external
     Status, NetBSD (xbdback): Supported, security support external
-    Status, Blktap2: Deprecated
+    Status, Blktap2, raw format: Deprecated
+    Status, Blktap2, vhd format: Deprecated
 
-Host-side implementations of the Xen PV block protocol
+Host-side implementations of the Xen PV block protocol.
+Backends only support raw format unless otherwise specified.
 
 ### Netback
 
@@ -634,6 +639,8 @@ Note that other devices are available but not security supported.
 
     Status, piix3 ide: Supported
     Status, ahci: Supported
+	
+See the section **Blkback** for image formats supported by QEMU.
 
 ### x86/Emulated graphics (QEMU):
 
Signature · 7 lines
2.16.2


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#0 lore raw

PATCH 1/3 SUPPORT.md: Clarify that the PV keyboard protocol includes mouse support

s/fo/fo; while we're here.

---
This is a candidate for backport to 4.10.

CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
CC Tim Deegan <[email protected]>
CC Konrad Wilk <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Julien Grall <[email protected]>
CC Anthony Perard <[email protected]>
CC Paul Durrant <[email protected]>
CC Lars Kurth <[email protected]>
---
 SUPPORT.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
SUPPORT.md +4 -2
index a1810b8046..87d07129b4 100644
@@ -380,7 +380,8 @@ Guest-side driver capable of speaking the Xen PV console protocol
 
     Status, Linux (xen-kbdfront): Supported
 
-Guest-side driver capable of speaking the Xen PV keyboard protocol
+Guest-side driver capable of speaking the Xen PV keyboard protocol.
+Note that the "keyboard protocol" includes mouse / pointer support as well.
 
 ### PV USB (frontend)
 
@@ -451,7 +452,8 @@ Host-side implementation of the Xen PV console protocol
 
     Status, QEMU: Supported
 
-Host-side implementation fo the Xen PV keyboard protocol
+Host-side implementation of the Xen PV keyboard protocol.
+Note that the "keyboard protocol" includes mouse / pointer support as well.
 
 ### PV USB (backend)
 
Signature · 7 lines
2.16.2


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#3 lore raw

PATCH 3/3 docs: Remove redundant qemu-xen-security document

All this information is now covered in SUPPORT.md.

Most of the emulated hardware is obvious a couple of the items are worth pointing out specifically.

"xen_disk" is listed under "Blkback"

"...the PCI host bridge and the PIIX3 chipset...": This statement is redundant -- the PCI host bridge is a part of the piix3 chipset, which is listed as supported.

xenfb: The "graphics" side of "xenfb" is listed under "PV Framebuffer (backend)", and the "input" side of "xenfb" (including both keyboard and mouse) is listed under "PV Keyboard (backend)".

Backing storage image format is listed in the "Blkback" section.

---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Andrew Cooper <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Konrad Wilk <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Anthony Perard <[email protected]>
CC: Lars Kurth <[email protected]>

---
 docs/misc/qemu-xen-security | 21 ---------------------
 1 file changed, 21 deletions(-)
 delete mode 100644 docs/misc/qemu-xen-security
docs/misc/qemu-xen-security deleted +0 -21
deleted file mode 100644
index 496f7eee7a..0000000000
@@ -1,21 +0,0 @@
-qemu-xen (git://xenbits.xen.org/qemu-xen.git) is only supported for
-security fixes when used together with the Xen hypervisor and only with
-a subset of all the possible QEMU emulators. Specifically:
-
-- network: e1000, rtl8139, virtio-net
-- storage: piix3 ide, ahci, xen_disk
-- backing storage image format: raw, qcow, qcow2, vhd
-- graphics: cirris-vga, stdvga and xenfb
-- audio: sb16, es1370, ac97
-- input: Xen PV keyboard and mouse (part of xenfb), USB and PS/2
-         keyboard and mouse
-- serial cards: UART 16550A
-
-Core components, such as the PCI host bridge and the PIIX3 chipset, are
-supported. All devices of one the above classes, which are not explicitly
-mentioned, are not supported. For example the ne2000 network card is not
-supported. 
-
-If you think that a specific emulated device should be supported, please
-contact the QEMU UPSTREAM maintainer and the Xen Security Team
-([email protected]).
Signature · 7 lines
2.16.2


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by on v1 1/3
#7 lore raw
In reply to George Dunlap
Quoted 14 lines

-----Original Message-----
From: George Dunlap [mailto:[email protected]]
Sent: 09 March 2018 18:04
To: [email protected]
Cc: George Dunlap <[email protected]>; Ian Jackson <[email protected]>; Wei Liu <[email protected]>; Andrew Cooper <[email protected]>; Jan Beulich <[email protected]>; Tim (Xen.org) <[email protected]>; Konrad Wilk <[email protected]>; Stefano Stabellini <[email protected]>; Julien Grall <[email protected]>; Anthony Perard <[email protected]>; Paul Durrant <[email protected]>; Lars Kurth <[email protected]>
Subject: [PATCH 1/3] SUPPORT.md: Clarify that the PV keyboard protocol includes mouse support

Quoted 3 lines

s/fo/fo; while we're here.

Quoted 44 lines

---
This is a candidate for backport to 4.10.

CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
CC Tim Deegan <[email protected]>
CC Konrad Wilk <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Julien Grall <[email protected]>
CC Anthony Perard <[email protected]>
CC Paul Durrant <[email protected]>
CC Lars Kurth <[email protected]>
---
 SUPPORT.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
SUPPORT.md +0 -0
index a1810b8046..87d07129b4 100644
@@ -380,7 +380,8 @@ Guest-side driver capable of speaking the Xen PV

console protocol

Status, Linux (xen-kbdfront): Supported

SUPPORT.md +2 -1
-Guest-side driver capable of speaking the Xen PV keyboard protocol
+Guest-side driver capable of speaking the Xen PV keyboard protocol.
+Note that the "keyboard protocol" includes mouse / pointer support as

well.

### PV USB (frontend)

SUPPORT.md +0 -0
@@ -451,7 +452,8 @@ Host-side implementation of the Xen PV console

protocol

Status, QEMU: Supported

SUPPORT.md +2 -1
-Host-side implementation fo the Xen PV keyboard protocol
+Host-side implementation of the Xen PV keyboard protocol.
+Note that the "keyboard protocol" includes mouse / pointer support as

well.

Quoted 4 lines

### PV USB (backend)

--
2.16.2

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#4 lore raw

Re: [PATCH 3/3] docs: Remove redundant qemu-xen-security document

In reply to George Dunlap
Quoted 11 lines · George Dunlap

All this information is now covered in SUPPORT.md.

Most of the emulated hardware is obvious a couple of the items are worth pointing out specifically.

"xen_disk" is listed under "Blkback"

"...the PCI host bridge and the PIIX3 chipset...": This statement is redundant -- the PCI host bridge is a part of the piix3 chipset, which is listed as supported.

Quoted 7 lines

xenfb: The "graphics" side of "xenfb" is listed under "PV Framebuffer (backend)", and the "input" side of "xenfb" (including both keyboard and mouse) is listed under "PV Keyboard (backend)".

Backing storage image format is listed in the "Blkback" section.

One thing: stdvga is still mispelled in SUPPORT.md. Anything else is fine.

Quoted 45 lines
CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
CC Tim Deegan <[email protected]>
CC Konrad Wilk <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Julien Grall <[email protected]>
CC Anthony Perard <[email protected]>
CC Lars Kurth <[email protected]>
---
 docs/misc/qemu-xen-security | 21 ---------------------
 1 file changed, 21 deletions(-)
 delete mode 100644 docs/misc/qemu-xen-security
docs/misc/qemu-xen-security deleted +0 -21
deleted file mode 100644
index 496f7eee7a..0000000000
@@ -1,21 +0,0 @@
-qemu-xen (git://xenbits.xen.org/qemu-xen.git) is only supported for
-security fixes when used together with the Xen hypervisor and only with
-a subset of all the possible QEMU emulators. Specifically:
-
-- network: e1000, rtl8139, virtio-net
-- storage: piix3 ide, ahci, xen_disk
-- backing storage image format: raw, qcow, qcow2, vhd
-- graphics: cirris-vga, stdvga and xenfb
-- audio: sb16, es1370, ac97
-- input: Xen PV keyboard and mouse (part of xenfb), USB and PS/2
-         keyboard and mouse
-- serial cards: UART 16550A
-
-Core components, such as the PCI host bridge and the PIIX3 chipset, are
-supported. All devices of one the above classes, which are not explicitly
-mentioned, are not supported. For example the ne2000 network card is not
-supported. 
-
-If you think that a specific emulated device should be supported, please
-contact the QEMU UPSTREAM maintainer and the Xen Security Team
-([email protected]).
Signature · 1 line
2.16.2

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#5 lore raw

Re: [PATCH 3/3] docs: Remove redundant qemu-xen-security document

Quoted 16 lines · Stefano Stabellini
Quoted 15 lines · George Dunlap

All this information is now covered in SUPPORT.md.

Most of the emulated hardware is obvious a couple of the items are worth pointing out specifically.

"xen_disk" is listed under "Blkback"

"...the PCI host bridge and the PIIX3 chipset...": This statement is redundant -- the PCI host bridge is a part of the piix3 chipset, which is listed as supported.

xenfb: The "graphics" side of "xenfb" is listed under "PV Framebuffer (backend)", and the "input" side of "xenfb" (including both keyboard and mouse) is listed under "PV Keyboard (backend)".

Quoted 6 lines
Quoted 3 lines

Backing storage image format is listed in the "Blkback" section.

One thing: stdvga is still mispelled in SUPPORT.md. Anything else is fine.

So it is. What about the attached?

-George

Quoted 1 line

From 6b41d5c33b95f55fd16b259f58a3852a6cce13f9 Mon Sep 17 00:00:00 2001

From: George Dunlap <[email protected]>
Date: Fri, 9 Mar 2018 11:04:18 +0000
Subject: [PATCH] docs: Remove redundant qemu-xen-security document

All this information is now covered in SUPPORT.md.

Most of the emulated hardware is obvious a couple of the items are worth pointing out specifically.

"xen_disk" is listed under "Blkback"

"...the PCI host bridge and the PIIX3 chipset...": This statement is redundant -- the PCI host bridge is a part of the piix3 chipset, which is listed as supported.

xenfb: The "graphics" side of "xenfb" is listed under "PV Framebuffer (backend)", and the "input" side of "xenfb" (including both keyboard and mouse) is listed under "PV Keyboard (backend)".

Backing storage image format is listed in the "Blkback" section.

Fix 'stdvga' spelling while we're here.

---
v2:
- Fix stdvgga spelling.

CC Ian Jackson <[email protected]>
CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>
CC Jan Beulich <[email protected]>
CC Tim Deegan <[email protected]>
CC Konrad Wilk <[email protected]>
CC Stefano Stabellini <[email protected]>
CC Julien Grall <[email protected]>
CC Anthony Perard <[email protected]>
CC Lars Kurth <[email protected]>
---
 SUPPORT.md                  |  2 +-
 docs/misc/qemu-xen-security | 21 ---------------------
 2 files changed, 1 insertion(+), 22 deletions(-)
 delete mode 100644 docs/misc/qemu-xen-security
SUPPORT.md +1 -1
index ee65d45b24..9ac1a40036 100644
@@ -645,7 +645,7 @@ See the section **Blkback** for image formats supported by QEMU.
 ### x86/Emulated graphics (QEMU):
 
     Status, cirrus-vga: Supported
-    Status, stgvga: Supported
+    Status, stdvga: Supported
 
 ### x86/Emulated audio (QEMU):
 
docs/misc/qemu-xen-security deleted +0 -21
deleted file mode 100644
index 496f7eee7a..0000000000
@@ -1,21 +0,0 @@
-qemu-xen (git://xenbits.xen.org/qemu-xen.git) is only supported for
-security fixes when used together with the Xen hypervisor and only with
-a subset of all the possible QEMU emulators. Specifically:
-
-- network: e1000, rtl8139, virtio-net
-- storage: piix3 ide, ahci, xen_disk
-- backing storage image format: raw, qcow, qcow2, vhd
-- graphics: cirris-vga, stdvga and xenfb
-- audio: sb16, es1370, ac97
-- input: Xen PV keyboard and mouse (part of xenfb), USB and PS/2
-         keyboard and mouse
-- serial cards: UART 16550A
-
-Core components, such as the PCI host bridge and the PIIX3 chipset, are
-supported. All devices of one the above classes, which are not explicitly
-mentioned, are not supported. For example the ne2000 network card is not
-supported. 
-
-If you think that a specific emulated device should be supported, please
-contact the QEMU UPSTREAM maintainer and the Xen Security Team
-([email protected]).
Signature · 1 line
2.16.2

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Acked-by
#8 lore raw
In reply to Paul Durrant
Quoted 15 lines
Quoted 15 lines
Quoted 1 line · On 11.03.18 at 16:26, <[email protected]> wrote:

-----Original Message-----
From: George Dunlap [mailto:[email protected]]
Sent: 09 March 2018 18:04
To: [email protected]
Cc: George Dunlap <[email protected]>; Ian Jackson <[email protected]>; Wei Liu <[email protected]>; Andrew Cooper <[email protected]>; Jan Beulich <[email protected]>; Tim (Xen.org) <[email protected]>; Konrad Wilk <[email protected]>; Stefano Stabellini <[email protected]>; Julien Grall <[email protected]>; Anthony Perard <[email protected]>; Paul Durrant <[email protected]>; Lars Kurth <[email protected]>
Subject: [PATCH 1/3] SUPPORT.md: Clarify that the PV keyboard protocol includes mouse support

Quoted 5 lines
Quoted 3 lines

s/fo/fo; while we're here.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Acked-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] SUPPORT.md: Specify support for various image formats

In reply to George Dunlap
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 09.03.18 at 19:03, <[email protected]> wrote:

QEMU supports various image formats, but we only provide security support for raw, qcow, qcow2, and vhd formats.

Rather than duplicate this information under the "x86/Emulated storage" section, just refer to the "Blkback" section.

Quoted 8 lines

---
This is a candidate for backport to 4.10.

Other option I explored was giving each format its own entry, like this:

#### Image format: Raw

Quoted 8 lines

Status, Linux (xen-blkback): Supported
Status, QEMU (xen_disk): Supported
Status, FreeBSD (blkback): Supported, Security support external Status, NetBSD (xbdback): Supported, security support external Status, Blktap2: Deprecated

But that led to a lot of duplication (Everything is listed as "supported" once under "Blkback", and once under "Image format: Raw").

I agree - the way you've put it all necessary information is there without much redundancy.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Acked-by
#6 lore raw

Re: [PATCH 3/3] docs: Remove redundant qemu-xen-security document

In reply to George Dunlap
Quoted 18 lines
Quoted 1 line
Quoted 1 line · On 12.03.18 at 13:09, <[email protected]> wrote:
Quoted 16 lines · Stefano Stabellini
Quoted 15 lines · George Dunlap

All this information is now covered in SUPPORT.md.

Most of the emulated hardware is obvious a couple of the items are worth pointing out specifically.

"xen_disk" is listed under "Blkback"

"...the PCI host bridge and the PIIX3 chipset...": This statement is redundant -- the PCI host bridge is a part of the piix3 chipset, which is listed as supported.

xenfb: The "graphics" side of "xenfb" is listed under "PV Framebuffer (backend)", and the "input" side of "xenfb" (including both keyboard and mouse) is listed under "PV Keyboard (backend)".

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Backing storage image format is listed in the "Blkback" section.

One thing: stdvga is still mispelled in SUPPORT.md. Anything else is fine.

So it is. What about the attached?

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel