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

Re: How do I run hvt targets on qemu/kvm?



Dear Hans Ole,

On 24/10/2020 08:33, Hans Ole Rafaelsen wrote:
> When reading the MirageOS tutorials/documentation it seems like virtio
> target has some limitations. E.g. only one network interface supported.
> From the tutorials I get the impression that virtio will have limited
> support in the future, while hvt seems to be better supported.
> 
> Making virtio targets run on qemu/kvm is documented and quite
> straightforward . But I can not find any way to make hvt targets run on
> qemu/kvm.
> 
> Is there some way to make hvt targets run on qemu/kvm?

In order to run hvt unikernels, you need a custom "tender" named
solo5-hvt on the host system instead of qemu (qemu uses virtio,
solo5-hvt a custom device setup). The binary is built when you compile
solo5 (i.e. download / clone https://github.com/solo5/solo5).

You can start your unikernel with something like `solo5-hvt
--net:service=tapX -- network.hvt --ipv4=10.0.0.2/24`.

If you're not in control of the host system, or would like to use an
intermediate layer / orchestration system, please don't hesitate to
provide further details, and let us discuss a possible solution.

Best,

hannes



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.