spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

Qemu Guest Agent for Synology VM on Proxmox

Open sgelineau17 opened this issue 2 years ago • 15 comments

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,

sgelineau17 avatar Feb 23 '24 16:02 sgelineau17

@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 avatar Feb 27 '24 02:02 mreid-tt

Hello,

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

Thanks

sgelineau17 avatar Feb 28 '24 18:02 sgelineau17

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?

mreid-tt avatar Feb 28 '24 19:02 mreid-tt

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.

th0ma7 avatar Feb 28 '24 19:02 th0ma7

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 avatar Mar 05 '24 22:03 sgelineau17

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

sgelineau17 avatar Mar 13 '24 21:03 sgelineau17

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...

ymartin59 avatar Apr 01 '24 18:04 ymartin59

@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.

hgy59 avatar Apr 30 '24 20:04 hgy59

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.

r0bb10 avatar May 17 '24 13:05 r0bb10

@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

sgelineau17 avatar Jun 19 '24 09:06 sgelineau17

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 avatar Jun 19 '24 20:06 hgy59

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.

hgy59 avatar Jul 13 '24 17:07 hgy59

@sgelineau17 I've noticed two things, first of all it was not working for me when i was using tinycore-redpill but works very well when using rr loader. Second one is that when i was looking trough some spk7 repository related pages I've noticed that you need to have serial port installed to your machine (at least in proxmox) in order to make it work properly, see https://imnks.com/9522.html

psychodracon avatar Jul 25 '24 10:07 psychodracon

Hello,

I'm lost, what package did you create that I can use under DSM7? It is not yet available on your Repo, do you need to do a manual installation?

Thanks

sgelineau17 avatar Aug 08 '24 07:08 sgelineau17

Hello,

I'm lost, what package did you create that I can use under DSM7? It is not yet available on your Repo, do you need to do a manual installation?

Thanks

check the actions job, the artifact can be downloaded here https://github.com/SynoCommunity/spksrc/actions/runs/9921751399/artifacts/1698232305

r0bb10 avatar Aug 09 '24 11:08 r0bb10