qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] -device ipmi-bmc-sim attached to -netdev vde


From: Robin Jarry
Subject: [Qemu-devel] -device ipmi-bmc-sim attached to -netdev vde
Date: Mon, 11 Feb 2019 18:09:24 +0100
User-agent: NeoMutt/20170113 (1.7.2)

Hi,

I have several QEMU VMs connected via a vde_switch (with "-netdev vde"
interfaces). I use this to create virtual network topologies without
requiring root access (i.e. no tap + bridge on host). Performance is not
a concern here. To emulate "real" platforms, I would like one of the VMs
to control the others via remote IPMI over this "vde" link without any
implication of the host.

The current implementation in QEMU does not seem to support this. I only
found ways to create a "local" (i.e. only reachable from the guest
itself) IPMI interface with "isa-ipmi-kcs" or "isa-ipmi-bt" devices. Or
"remote" IPMI interfaces by using an external daemon that runs on the
host [1]. This makes communication from one of the VMs to the others
quite complex.

I am enclined to try an develop another IPMI device that can be
"attached" to a -netdev with a dedicated mac address + IP configuration
to support my use case.

However, this would be my first steps into QEMU code and I have a few
questions first:

- Did I miss something and is that already possible with the current
  code base?
- Is there another way to do this or is my idea completely stupid?
- I am aware that allowing to "attach" a simplistic bmc (without any
  authentication) to a netdev may be a security problem. This is not
  a concern for me at the moment.
- Could someone point me to what would need to be added for this? Do
  I need to implement a new ipmi device type that accepts
  a "netdev=<id>" argument? If so, would that make sense for this new
  device to also accept mac-address and ip configuration for this IPMI
  interface? Or does that need to go elsewhere?

Thanks in advance for your guidance.

[1] https://github.com/Zexi/vbmc-qemu

-- 
Robin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]