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
VMware guest additions support for aarch64 #147650
Comments
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/vmware-guest-tools-on-aarch64-linux/16248/7 |
It looks like nixpkgs/nixos/modules/virtualisation/vmware-guest.nix Lines 65 to 81 in 386234e
Maybe the assertion could be relaxed a bit? assertions = [ {
- assertion = pkgs.stdenv.hostPlatform.isx86;
+ assertion = pkgs.stdenv.hostPlatform.isx86 && !cfg.headless;
message = "VMWare guest is not currently supported on ${pkgs.stdenv.hostPlatform.system}";
} ]; |
Bump. Please change this so that we can at least use the guest tools in headless mode as mentioned here:
|
@d4g Can you submit a PR and change the assertion message? This makes sense. |
@kjeremy Any suggestions on how to update the assertion message? Am not sure if it should also be conditional. |
Can you tell me how to single pick this PR in my configuration? Define an override? |
Yes. There are multiple ways to do this. So finding the simplest or easiest way will depend on your current setup. How do you define/import nixpkgs in your configuration?
That'd be one way to do it. AFAIK you'd need to add the vmware-guest.nix file to |
AFAICT this is also a blocker for creating a graphical ISO for
|
Seems to work on aarch64 for me:
|
Any progress - I am a begginer in nixOS. So the way to learn is setup a VM What are the exact steps to use this PR? This is not just a mouse issue as the previous comment not it stops cut and paste. It also shops the use of shared folders so a fix is needed for the headless case as well. |
I would love to have vmware guest on aarch64 too. I'm running VMWare Fusion on my M1 macbook. I tried the above, of disabling the vmware-guest.nix and adding my own with the assert modified to accept Aarch64. However it not building x11 mouse is one issue, but even with headless = true it still fails; in this case vmw_vpscsi fails in the kernel build: |
@ThorbenJ that's a module that comes with the kernel and not vmware. It looks like it's not supported under non-x86 architectures: https://cateee.net/lkddb/web-lkddb/VMWARE_PVSCSI.html so we should remove it from the module if not on x86 |
Magic. It built successfully and as soon as nixos-rebuild switch completed my X desktop resized to match my monitor (automatically). I just used my own local vmware-guest.nix (disabling the system one), in which I made the two changes that are in kjeremy's PR ^ Thank you. |
Describe the bug
The
virtualisation.vmware.guest.enable = true
option does not work on aarch64-linux due tonixpkgs/nixos/modules/virtualisation/vmware-guest.nix
Lines 25 to 28 in 5d6a70c
See also https://discourse.nixos.org/t/vmware-guest-tools-on-aarch64-linux/16248.
It seems that the current issue is that
xorg.xf86inputvmmouse
does not build on aarch64-linux.Steps To Reproduce
Steps to reproduce the behavior:
virtualisation.vmware.guest.enable = true
option.Expected behavior
aarch64-linux support
Screenshots
n/a
Additional context
See also https://discourse.nixos.org/t/vmware-guest-tools-on-aarch64-linux/16248.
Notify maintainers
@joamaki @anoever @kjeremy
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: