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

Re: [libvirt] [PATCH 0/1] bhyve: Make LPC slot number configurable



On Fri, Aug 10, 2018 at 03:41:09PM +0300, Ivan Mishonov wrote:
> This is how it's described in bhyve(8). Basically you need to configure one
> for each bhyve VM. Otherwise the VM won't boot. I'm not sure if there's an
> equivalent device in other Hypervisors. I've used KVM for quite some time
> and didn't need to configure anything similar
> 
> lpc         LPC PCI-ISA bridge with COM1 and COM2
>             16550 serial ports and a boot ROM.
>             The LPC bridge emulation can only be
>             configured on bus 0.

Ok, so we have the same thing in QEMU, but it is a built-in part of the
machine type which we can't move between different PCI slots, so we have
never had to represent it in the XML.

I think conceptually we'd probably map this to a new controller type eg

  <controller type="isa-bridge" index="0">
      <address type="pci" domain="0" bus="0" slot="NNN" function="0"/>
  </controller>

So you'd just need to define the new "isa-bridge" controller type for
the parser and have the bhyve driver honour the <address>, if provided.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


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