Getting "Command has been disabled" when attempting to use qemu-file-* commands from Guest Agent

Solution Verified - Updated -

Issue

  • How to use qemu-agent-commands to manage guest files?
  • How to enable or use guest agent guest-file-open, guest-file-close,g uest-file-read,guest-file-write, guest-file-seek and guest-file-flush commands?
  • Getting error that command is disabled when attempting to use guest agent guest-file-* commands.
error: internal error: unable to execute QEMU agent command 'guest-file-open': Command guest-file-open has been disabled

Environment

  • Red Hat Enterprise Linux 7, 8, 9

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content