Ability to use -net socket with unix sockets

Bug #676934 reported by Tefnet Developers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Expired
Undecided
Unassigned

Bug Description

It would be a nice feature (simplifying access control for example) to be able to do something like:

qemu -net socket,listen=unix:/tmp/qemunet
qemu -net socket,connect=unix:/tmp/qemunet

For now one has to use TCP connections even for guests running on the same host, which involves setting up iptables to restrict access.

Thomas Huth (th-huth)
Changed in qemu:
importance: Undecided → Wishlist
Revision history for this message
Alex Bennée (ajbennee) wrote :

Aren't these at different levels of the stack? Network devices deal in packets not connections. It sounds like you want to use something like vsock which provides a virtual socket device to the guest.

Revision history for this message
Daniel Berrange (berrange) wrote :

This is just about connecting the NIC backends for 2 QEMUs together using a UNIX socket, instead of the current TCP/UDP socket. It should be fairly trivial to support i would expect. Though ideally we'd port the netdev socket backend to use QIOChannel too

Revision history for this message
Thomas Huth (th-huth) wrote : Closing duplicate bug report

This is an automated cleanup. This bug report got closed because it
is a duplicate.

Changed in qemu:
importance: Wishlist → Undecided
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.