-
Notifications
You must be signed in to change notification settings - Fork 42
Comparing changes
Open a pull request
base repository: crc-org/vfkit
base: v0.1.1
head repository: crc-org/vfkit
compare: v0.5.0
- 20 commits
- 27 files changed
- 3 contributors
Commits on Jul 26, 2023
-
Add details around installation, usage and link to a few talks This fixes #38
Configuration menu - View commit details
-
Copy full SHA for f24e982 - Browse repository at this point
Copy the full SHA f24e982View commit details -
Configuration menu - View commit details
-
Copy full SHA for d05bc0d - Browse repository at this point
Copy the full SHA d05bc0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0eb1914 - Browse repository at this point
Copy the full SHA 0eb1914View commit details
Commits on Aug 19, 2023
-
restore proper definition of width/height
width and height were switched.
Configuration menu - View commit details
-
Copy full SHA for 09bbd86 - Browse repository at this point
Copy the full SHA 09bbd86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 006fdb4 - Browse repository at this point
Copy the full SHA 006fdb4View commit details
Commits on Aug 21, 2023
-
During testing I always forget how to use vsock, or virtio-fs. This commit adds some more detailed examples for the various virtio devices.
Configuration menu - View commit details
-
Copy full SHA for 052cfa9 - Browse repository at this point
Copy the full SHA 052cfa9View commit details
Commits on Aug 22, 2023
-
This adds support for `--device rosetta,mountTag=something` on the commandline. This is only available on system with Apple CPUs, vfkit will error out if this option is used on Intel CPUs. Once the VM is running and the rosetta share is mounted, rosetta support can be enabled by creating this file: $ cat /etc/binfmt.d/rosetta.conf :rosetta:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x3e\x00:\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/mnt/rosetta:F and then running `systemctl restart systemd-binfmt` See these links for more details: https://developer.apple.com/documentation/virtualization/running_intel_binaries_in_linux_vms_with_rosetta?language=objc https://docs.kernel.org/admin-guide/binfmt-misc.html https://www.man7.org/linux/man-pages/man5/binfmt.d.5.html This fixes #23
Configuration menu - View commit details
-
Copy full SHA for 6931f23 - Browse repository at this point
Copy the full SHA 6931f23View commit details -
config: Use assert.JSONEq in JSON test
When comparing strings with JSON content, assert.JSONEq is better than assert.Equal as it will give better output when the 2 strings don't match, and it tests for equivalence, not strict equality. This means changes in field order is not a failure for example.
Configuration menu - View commit details
-
Copy full SHA for 98553ed - Browse repository at this point
Copy the full SHA 98553edView commit details
Commits on Aug 29, 2023
-
bootloader: Only check for uncompressed kernel on arm64
The code was checking for this on all arches, but it's only arm64 kernels which vfkit can't boot if they are compressed.
Configuration menu - View commit details
-
Copy full SHA for ff31b19 - Browse repository at this point
Copy the full SHA ff31b19View commit details -
bootloader: Rework
isUncompressedKernel
So far we were using `h2non/filetype` which is not a great fit for what we want to do, as kernels do not have their own mimetypes, and there is no nice way to convey compressed/uncompressed/arch through mime types. This was working through heuristics so far, but the used heuristics break for the kernel used by puipui linux (https://github.com/Code-Hex/puipui-linux) This commit removes the use of h2non/filetype, and reuses the patterns from https://github.com/file/file/blob/master/magic/Magdir/linux to do the detection we need. This only adds a magic for uncompressed arm64 kernels. There's also a pattern for compressed kernels, but it does not match the arm64 kernels I tested with. They are either detected as gzip files, or as EFI files, and don't contain the magic pattern.
Configuration menu - View commit details
-
Copy full SHA for 3b3c45d - Browse repository at this point
Copy the full SHA 3b3c45dView commit details -
bootloader: Add test for isKernelUncompressed
This ensures both puipui kernel and fedora/RHEL kernels are detected as uncompressed when they are.
Configuration menu - View commit details
-
Copy full SHA for 09e6206 - Browse repository at this point
Copy the full SHA 09e6206View commit details
Commits on Oct 3, 2023
-
build: Update Code-Hex/vz to latest git
The fix for Code-Hex/vz#131 is not in a tagged Code-Hex/vz release, but this can trigger crashes in vfkit. This commit updates Code-Hex/vz to latest git main to get this fix.
Configuration menu - View commit details
-
Copy full SHA for 17449d2 - Browse repository at this point
Copy the full SHA 17449d2View commit details -
This updates all direct go modules to their latest version.
Configuration menu - View commit details
-
Copy full SHA for 33f32b1 - Browse repository at this point
Copy the full SHA 33f32b1View commit details
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4b3b327 - Browse repository at this point
Copy the full SHA 4b3b327View commit details
Commits on Oct 27, 2023
-
feat(rest): support check status can be change
In the previous API, there was no way to detect before changing the status, which would make it difficult for developers to handle the following situations: - When the virtual machine status is Stop, calling Pause may fail. - When the virtual machine status is Pause, setting the status to Pause again may fail. In the previous solution, developers needed to first get the current status of the virtual machine and then decide whether to proceed to the next step. However, the current virtual machine status is very diverse (see: https://github.com/Code-Hex/vz/blob/bd29a7ea3d39465c4224bfb01e990e8c220a8449/virtualization.go#L23), which would require developers to handle various cases perfectly. This PR solves this problem.
Configuration menu - View commit details
-
Copy full SHA for bf93e84 - Browse repository at this point
Copy the full SHA bf93e84View commit details
Commits on Oct 30, 2023
-
This jumps from 0.1.1 to 0.5.0 to better reflect vfkit's maturity.
Configuration menu - View commit details
-
Copy full SHA for f3c783d - Browse repository at this point
Copy the full SHA f3c783dView commit details
Commits on Nov 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 95a6a8e - Browse repository at this point
Copy the full SHA 95a6a8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a4d725 - Browse repository at this point
Copy the full SHA 2a4d725View commit details
Commits on Nov 22, 2023
-
When ConnectVSockSync fails in watchWakeupNotifications(), the returned net.Conn contains a nil value, but is not a nil interface (ie checking it for `== nil` returns false). This means we'll try to call `Close()` on the connection, which will cause a nil pointer dereference. See https://go.dev/doc/faq#nil_error and https://groups.google.com/g/golang-nuts/c/wnH302gBa4I for details about this behaviour. This bug is fixed by returning a nil interface when `vsockDevice.Connect(uint32(port))` returns an error.
Configuration menu - View commit details
-
Copy full SHA for f19a643 - Browse repository at this point
Copy the full SHA f19a643View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7572104 - Browse repository at this point
Copy the full SHA 7572104View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.1.1...v0.5.0