When the SPICE clipboard channel is not available (e.g., running headless or without clipboard sharing), the vdagent would previously retry every 1 second, initializing the clipboard library each time. This caused unnecessary CPU usage. Changes: - Defer clipboard.Init() until first successful SPICE message - Add ErrSPICENotConnected error type to distinguish "never connected" from "connection lost" - Use 1-minute backoff when SPICE is not available, vs 1-second for transient failures Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| command | ||
| diskresizer | ||
| logginglevel | ||
| rpc | ||
| spice | ||
| tart | ||
| version | ||
| vsock | ||