From Fedora Project Wiki
m (fix a typo) |
(Doesn't work with latest bits) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
|actions= | |actions= | ||
{{admon/ | {{admon/caution | This doesn't work with latest Fedora | Login prompt is no longer automatically spawned in the guest for virtio-console, see bug 1039742 }} | ||
* Open virt-manager. Start with a shutoff VM. | * Open virt-manager. Start with a shutoff VM. | ||
* Verify the guest already has a virtio console configured in the VM details window (if not, see the note above) | * Verify the guest already has a virtio console configured in the VM details window (if not, see the note above) | ||
* Open virt-manager. Start the VM. Verify with the graphical console that the VM starts correctly. | * Open virt-manager. Start the VM. Verify with the graphical console that the VM starts correctly. | ||
* In the graphical window, select View->Text Consoles->Text Console 1 | * In the graphical window, select View->Text Consoles->Text Console 1 | ||
* Verify that a login prompt appears on the text console. Verify you can log in correctly. 'exit' to log out. | * Verify that a login prompt appears on the text console. Verify you can log in correctly. 'exit' to log out. Close the virt-manager VM window. | ||
* On the command line, connect to the console with virsh: <code>sudo virsh console test-day-vm</code> | * On the command line, connect to the console with virsh: <code>sudo virsh console test-day-vm</code> | ||
* Verify you can login as done with virt-manager. Send ctrl+] to exit | * Verify you can login as done with virt-manager. Send ctrl+] to exit |
Latest revision as of 17:40, 16 September 2014
Description
Setup a serial console for the guest, verify tools can connect to it, and the guest OS automatically configures things correctly.
Setup
Functioning virt host, a function Fedora VM created on F20+
How to test
- Open virt-manager. Start with a shutoff VM.
- Verify the guest already has a virtio console configured in the VM details window (if not, see the note above)
- Open virt-manager. Start the VM. Verify with the graphical console that the VM starts correctly.
- In the graphical window, select View->Text Consoles->Text Console 1
- Verify that a login prompt appears on the text console. Verify you can log in correctly. 'exit' to log out. Close the virt-manager VM window.
- On the command line, connect to the console with virsh:
sudo virsh console test-day-vm
- Verify you can login as done with virt-manager. Send ctrl+] to exit
Expected Results
No obvious errors occur.