Since there's a new patch set implementing datagram support in
vsock (https://lkml.org/lkml/2023/6/9/1490) that appears to have good
chances of getting merge, we can keep TSI around in parallel to the
future virtio-net/passt alternative.
Here we rebase on the latest stable 6.4.x kernel, adopting the new
vsock+datagram patch set mentioned above.
In 6.4.x kernels, load and entry addresses no longer match, so we need
to do the right thing and treat them independently. We modify
krunfw_get_kernel to also provide the entry addr to the callers. This
means we're breaking the API/ABI, so bump major version to 4.
Signed-off-by: Sergio Lopez <slp@redhat.com>
In addition to padding the size of the bundle to 64k, tell GCC to align
its beginning to that value.
This should fix loading the bundle in 4k/16k/64k environments without
causing any trouble smaller page size environments.
Signed-off-by: Eric Curtin <ecurtin@redhat.com>
In addition to padding the size of the bundle to 16K, tell GCC to align
its beginning to that value.
This should fix loading the bundle in Apple Silicon without causing any
trouble to other environments.
Fixes: containers/libkrun#132
Signed-off-by: Sergio Lopez <slp@redhat.com>
Pay a long due technical debt by unifying the bundle generation
scripts, and fixing the way in which the padding is generated.
Fixes#1
Signed-off-by: Sergio Lopez <slp@redhat.com>