Re: [PATCH 0/2] Introduce printer subsystem and USB printer device

2022-01-15 Thread Ruien Zhang
On 1/14/22 5:32 PM, Gerd Hoffmann wrote: Hi, This patchset introduces: 1) Skeleton of QEMU printer subsystem with a dummy builtin driver. 2) USB printer device emulation, with definitions in the extension of IPP-over- USB [3]. WIP: 1) QEMU printer subsystem interfaces, which will be

Re: [PATCH 0/2] Introduce printer subsystem and USB printer device

2022-01-14 Thread Ruien Zhang
On 1/14/22 5:32 PM, Gerd Hoffmann wrote: Hi, This patchset introduces: 1) Skeleton of QEMU printer subsystem with a dummy builtin driver. 2) USB printer device emulation, with definitions in the extension of IPP-over- USB [3]. WIP: 1) QEMU printer subsystem interfaces, which will be

[PATCH 2/2] usb-printer: Introduce USB printer class

2022-01-13 Thread Ruien Zhang
+ * + * Copyright (c) 2022 ByteDance, Inc. + * + * Author: + * Ruien Zhang + * + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. + */ + +/* + * References: + * Universal Serial Bus Device Class Definition for

[PATCH 0/2] Introduce printer subsystem and USB printer device

2022-01-13 Thread Ruien Zhang
From: zhangruien Currently, printer support in QEMU can generally be considered with these approaches: 1) USB passthrough & redirection, with the limitation of flexibility and transport-specific issues that come along with. 2) Network reachability with network printers, which is also driver-

[PATCH 1/2] printer: Introduce printer subsystem

2022-01-13 Thread Ruien Zhang
-vmstate.c F: hw/core/qdev-clock.c F: docs/devel/clocks.rst +Printer Subsystem +M: Ruien Zhang +S: Maintained +F: include/printer +F: printer +F: qapi/printer.json + Usermode Emulation -- Overall usermode emulation diff --git a/include/printer/printer.h b/include/printer