> I tried this one:
> PVE::API2::Qemu->vm_config( {node => $nodename, vmid => $owner } )
This calls the method directly. If you want to proxy the call to another server
you need to connect to the API server.
And I think you really do things the wrong way.