Bug 1154115

Summary: [RFE] qemu chardev socket should support TLS and auth
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Belka <jbelka>
Component: qemu-kvm-rhevAssignee: Amit Shah <amit.shah>
Status: CLOSED DUPLICATE QA Contact: Min Deng <mdeng>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: amit.shah, chayang, hhuang, huding, juzhang, knoel, mdeng, mrezanin, qzhang, rbalakri, sherold, virt-maint, xfu
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qemu-2.6 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-07 07:21:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Belka 2014-10-17 15:09:56 UTC
Description of problem:
it would be nice if qemu would support TLS for chardev sockets, so connection to VM's serial port via network would be encrypted. this should be possible for both client and server modes. spice option supports tls so code could be re-used probably.

there should be also optional possibility to define password for such connection (like for spice).

why? access to VM's serial console without ssh to host itself.
client mode could be used to "attach" consoles to central console server.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. make chardev socket to be connected via encrypted mode
2.
3.

Actual results:
not possible

Expected results:
should be possible

Additional info:

Comment 1 Jiri Belka 2014-10-17 15:11:35 UTC
i suppose this would also need libvirt part when this is accepted.

Comment 3 Amit Shah 2016-06-06 10:02:51 UTC
This support was added to QEMU 2.6 via this commit

a8fb542705ac7e0dcf00908bc47bf49cdd058abe

Information on this feature is on the upstream changelog page:

http://qemu-project.org/ChangeLog/2.6#Character_devices

Comment 5 Min Deng 2016-09-06 02:01:08 UTC
Hi Amit,
   Could you please provide QE some use cases about this bug in order to verify this bug ? Thanks in advance.
Best Regards,
Min

Comment 6 Amit Shah 2016-09-07 07:21:51 UTC
I'll just mark this bug a dup of 1300773 since it has more info, and test cases.

*** This bug has been marked as a duplicate of bug 1300773 ***