Oracle Linux 7: Manage the libvirtd Service

WARNING:

Oracle Linux 7 is now in Extended Support. See Oracle Linux Extended Support and Oracle Open Source Support Policies for more information.

Migrate applications and data to Oracle Linux 8 or Oracle Linux 9 as soon as possible.

The following information describes how to start, enable, and check the status of the libvirtd service.

What Do You Need?

Steps

Follow these steps to start and enable the libvirtd service:

  1. To start the libvirtd service, type:
    sudo systemctl start libvirtd 
  2. To enable the libvirtd service, type:
    sudo systemctl enable libvirtd
  3. To check the status of the libvirtd service, type:
    sudo systemctl status libvirtd

    The output indicates whether the libvirtd daemon is running, as shown in the following example output:

     * libvirtd.service - Virtualization daemon
       Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
       Active: active (running) since time_stamp; xh ago