Skip to content
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

Qemu Guest Agent for Synology VM on Proxmox #6019

Open
sgelineau17 opened this issue Feb 23, 2024 · 12 comments · May be fixed by #6152
Open

Qemu Guest Agent for Synology VM on Proxmox #6019

sgelineau17 opened this issue Feb 23, 2024 · 12 comments · May be fixed by #6152
Labels
request/off-topic request for packages that are impossible to implement or make no sense for NAS devices.

Comments

@sgelineau17
Copy link

Hello,

I'm currently using a "qemu guest agent" package via the spk7 repository (from China).
I would be more reassuring to use an open source package.

I need the Qemu agent to properly shut down my Synology VM (Arc Loader).
Without this agent, we are forced to stop the VM (which is equivalent to a power outage) or to do a reset for re-execution.

image

I don't know what more detail I could give you, don't hesitate if you need anything.

would it be possible for you to create a similar package that is kept up to date and open source?

Thanks,

@publicarray publicarray transferred this issue from SynoCommunity/spkrepo Feb 24, 2024
@mreid-tt
Copy link
Contributor

@sgelineau17, if this is for within the VM, there is an article on Synology's website which may help: How do I install Synology Guest Tool on virtual machines?. Beyond that the SynoCommunity does not support this package.

@mreid-tt mreid-tt added request/off-topic request for packages that are impossible to implement or make no sense for NAS devices. wontfix labels Feb 27, 2024
@sgelineau17
Copy link
Author

Hello,

No, it's for an Xpenology VM with the Arc loader. The NAS is a VM running Proxmox.

Thanks

@mreid-tt
Copy link
Contributor

No, it's for an Xpenology VM with the Arc loader. The NAS is a VM running Proxmox.

I"m not familiar with that. @hgy59 @th0ma7 @publicarray, any thoughts on this?

@th0ma7
Copy link
Contributor

th0ma7 commented Feb 28, 2024

I did asked @sgelineau17 to open up a request for this as it probably needs just a few tools to be bundled and there is prior work we could leverage from.

All to say that it is probably feasible.

@mreid-tt mreid-tt removed the wontfix label Feb 28, 2024
@sgelineau17
Copy link
Author

sgelineau17 commented Mar 5, 2024

That would be very good news, I'm not the only one in this case, especially since I had to uninstall the package because the NAS crashed, the web access worked but the SMB no longer worked after around 2 days, since uninstallation everything works correctly again but the NAS VM can no longer be shut down from Proxmox.

@sgelineau17
Copy link
Author

I did asked @sgelineau17 to open up a request for this as it probably needs just a few tools to be bundled and there is prior work we could leverage from.

All to say that it is probably feasible.

Do you think you will be able to work on it soon, this year? Thanks

@ymartin59
Copy link
Contributor

For development and test purposes, I run a Xpenolgoy DSM 6.2 since years but always fail until now to rebuild a VM for DSM 7. I will give it a try again...

@hgy59
Copy link
Contributor

hgy59 commented Apr 30, 2024

@sgelineau17 can you tell the version of working qemu guest agent of the package by spk7?

I was able to compile qemu-ga v7.2.11 for DSM 7.1 and x64 archs.
DSM 6.2 is not supported. qemu v7.2.11 requires a newer compiler (at least GCC v7.4 or Clang v6.0).
Cross compilation doesn't work either, but I suspect an ARM64 VM isn't being used anyway.

@r0bb10
Copy link

r0bb10 commented May 17, 2024

qemu-ga

did you follow some guide or are you able to write how you did? i was looking how to compile it for 7.1 and kvmx64.

@sgelineau17
Copy link
Author

@sgelineau17 can you tell the version of working qemu guest agent of the package by spk7?

I was able to compile qemu-ga v7.2.11 for DSM 7.1 and x64 archs. DSM 6.2 is not supported. qemu v7.2.11 requires a newer compiler (at least GCC v7.4 or Clang v6.0). Cross compilation doesn't work either, but I suspect an ARM64 VM isn't being used anyway.

I uninstalled it because I had instability, I'm running 7.2 so no problem for me, if it should work on this version.

image

hgy59 added a commit to hgy59/spksrc that referenced this issue Jun 19, 2024
- initial version, builds for arch-x64-7.1 only
@hgy59 hgy59 linked a pull request Jun 19, 2024 that will close this issue
6 tasks
@hgy59
Copy link
Contributor

hgy59 commented Jun 19, 2024

did you follow some guide or are you able to write how you did? i was looking how to compile it for 7.1 and kvmx64.

@r0bb10 you find a package in the build of #6152

@hgy59
Copy link
Contributor

hgy59 commented Jul 13, 2024

did you follow some guide or are you able to write how you did? i was looking how to compile it for 7.1 and kvmx64.

Did you install DSM for synology_kvmx64_virtualdsm?
If so, the current package of #6152 might work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request/off-topic request for packages that are impossible to implement or make no sense for NAS devices.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants