1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/nixos/modules/virtualisation
Boris Sukholitko 6af3e61632 nixos/qemu-vm: allow booting VM with the custom kernel
While doing kernel development with the nixos testing infrastructure, it
is useful to quickly compile the kernel on the side and boot it in the testing VM.

This patch allows overriding the kernel through the environment
variable. For example, the following:

$ NIXPKGS_QEMU_KERNEL_testvm=$LINUX_SRC/arch/x86/boot/bzImage $VM/bin/nixos-test-driver

runs testvm testing VM with the fresh kernel compiled in $LINUX_SRC.

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2022-03-25 17:38:19 +03:00
..
podman nixos/podman: sort files into directories 2021-12-09 13:03:16 +10:00
amazon-ec2-amis.nix
amazon-image.nix nixos/amazon-image: use 5_10 kernel and add assert 2022-02-27 15:04:37 -08:00
amazon-init.nix
amazon-options.nix
anbox.nix
azure-agent-entropy.patch
azure-agent.nix
azure-bootstrap-blobs.nix
azure-common.nix
azure-config-user.nix
azure-config.nix
azure-image.nix
azure-images.nix
brightbox-config.nix
brightbox-image.nix
build-vm.nix nixos/build-vm.nix: Fix docs eval 2022-01-14 19:17:11 +01:00
cloudstack-config.nix
container-config.nix nixos/container-config: Only use true as fallback 2022-01-20 23:10:13 +01:00
containerd.nix nixos/containerd: fix zfs setting config override 2022-02-16 18:54:59 +10:00
containers.nix
cri-o.nix
digital-ocean-config.nix
digital-ocean-image.nix
digital-ocean-init.nix
docker-image.nix
docker-rootless.nix nixos/docker-rootless: disable for root 2022-02-05 14:59:28 +03:00
docker.nix make all daemon settings default 2021-12-19 14:17:04 +01:00
ec2-amis.nix
ec2-data.nix
ec2-metadata-fetcher.nix
ecs-agent.nix
gce-images.nix
google-compute-config.nix google-compute-config: update config 2022-02-05 23:33:10 +03:00
google-compute-image.nix
grow-partition.nix
hyperv-guest.nix
hyperv-image.nix
kubevirt.nix virtualisation: implement kubevirt config 2021-12-21 05:52:16 -06:00
kvmgt.nix nixos/kvmgt: add myself to maintainers 2022-02-02 20:48:35 +01:00
libvirtd.nix
lxc-container.nix
lxc.nix
lxcfs.nix
lxd.nix
nixos-containers.nix
oci-containers.nix nixos/oci-containers: improve description of imageFile 2022-03-12 11:14:22 +01:00
openstack-config.nix
openstack-metadata-fetcher.nix openstack-metadata-fetcher: do not fail if no user-data is provided 2022-02-22 16:37:29 +01:00
openvswitch.nix nixos/openvswitch: remove ipsec 2022-01-26 01:12:40 +01:00
parallels-guest.nix
proxmox-image.nix
proxmox-lxc.nix nixos/proxmox-lxc: init 2022-02-15 23:55:03 +05:30
qemu-guest-agent.nix
qemu-vm.nix nixos/qemu-vm: allow booting VM with the custom kernel 2022-03-25 17:38:19 +03:00
railcar.nix
spice-usb-redirection.nix
vagrant-guest.nix
vagrant-virtualbox-image.nix
virtualbox-guest.nix nixos/virtualisation.virtualbox.guest: remove override 2022-01-22 20:36:24 -05:00
virtualbox-host.nix
virtualbox-image.nix
vmware-guest.nix nixos/vmware-guest: add mptspi kernel module to initrd 2022-01-10 17:06:02 +01:00
vmware-image.nix
waydroid.nix
xe-guest-utilities.nix
xen-dom0.nix nixos/make-options-doc: turn relatedPackages into links 2022-01-02 19:46:13 +01:00
xen-domU.nix