xen

package
v0.11.3-4-gf1860b55 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

README

Xen Integration Versioning

Xen functionality is broken up into a hypervisor <-> library relationship. Even if those are decoupled, they need to be within an acceptable version distance of each other. We currently have confirmed integration with Xen 4.19 and possibly the 4.20-rc versions that are in the works.

Changing Xen versions from 4.19

In order to make krafkit work with an older version, it must be recompiled for that version. Fastest way to do this would be to follow this set of commands:

  1. Change the version to an older one:
$ find . -type f -exec sed -i 's/4.19/4.18/g' {} +
  1. Get the library version corresponding to that one:
$ go get -u xenbits.xenproject.org/git-http/xen.git/tools/golang/xenlight@RELEASE-4.18.0 && go mod tidy
  1. Rebuild the KraftKit build environment:
$ make buildenv-xen buildenv-myself-full buildenv-myself
  1. Start the build container:
$ docker run --rm -it --entrypoint /bin/bash -v .:/tmp/kraftkit kraftkit.sh/myself-full:latest
  1. Rebuild KraftKit:
$ cd /tmp/kraftkit && make kraft

That's it! Your binary is now located at dist/kraft. Remember that you need to use sudo in order to interact with Xen.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMachineV1alpha1Service

func NewMachineV1alpha1Service(ctx context.Context) (machinev1alpha1.MachineService, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL