On 11/30/23 00:11, Praveen K Paladugu wrote:
enable VIR_DOMAIN_NET_TYPE_ETHERNET network support for ch guests.
Tested with following interface config:
<interface type='ethernet'>
<target dev='chtap0' managed="yes"/>
<model type='virtio'/>
<driver queues='2'/>
<interface>
Signed-off-by: Praveen K Paladugu <prapal(a)linux.microsoft.com>
---
po/POTFILES | 1 +
src/ch/ch_conf.h | 4 +
src/ch/ch_domain.c | 41 +++++++++
src/ch/ch_domain.h | 3 +
src/ch/ch_interface.c | 104 +++++++++++++++++++++
src/ch/ch_interface.h | 35 ++++++++
src/ch/ch_monitor.c | 205 +++++++++++++++---------------------------
src/ch/ch_monitor.h | 7 +-
src/ch/ch_process.c | 160 ++++++++++++++++++++++++++++++++-
src/ch/meson.build | 2 +
10 files changed, 424 insertions(+), 138 deletions(-)
create mode 100644 src/ch/ch_interface.c
create mode 100644 src/ch/ch_interface.h
A lot of code in this patch looks unindented. Otherwise looking good.
Michal