-
Notifications
You must be signed in to change notification settings - Fork 159
KVM_CREATE_PIT2 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
asias
pushed a commit
that referenced
this issue
Apr 9, 2022
Linux, besides CPIO, supports 7 different compressed formats for the initrd (gzip, bzip2, LZMA, XZ, LZO, LZ4, ZSTD), but kvmtool only recognizes one of them. Remove the initrd magic check because: 1. It doesn't bring much to the end user, as the Linux kernel still complains if the initrd is in an unknown format. 2. --kernel can be used to load something that is not a Linux kernel (like a kvm-unit-tests test), in which case a format which is not supported by a Linux kernel can still be perfectly valid. For example, kvm-unit-tests load the test environment as an initrd in plain ASCII format. 3. It cuts down on the maintenance effort when new formats are added to the Linux kernel. Not a big deal, since that doesn't happen very often, but it's still an effort with very little gain (see point #1 above). Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com> Link: https://lore.kernel.org/r/20220214165830.69207-2-alexandru.elisei@arm.com Signed-off-by: Will Deacon <will@kernel.org>
Looks like since this commit the If I just reorder the ioctls in |
This is now fixed by e73a6b2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
kvm.c<x86> reads:
Interestingly, kernel Documentation/virtual/kvm/api.txt reads:
Question: should CREATE_PIT2 be executed after CREATE_IRQCHIP in line 164?
best,
evrim.
The text was updated successfully, but these errors were encountered: