virt-manager disk bus changement doing error when VM is starting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Sorry if i have entered bad informations for the name, title and location, it is my first bug report.
First of all, i have builded my machine with virt-manager. I've chosen (QEMU/KVM) hypervisor connection with the 'Local install media (ISO image or CDROM)' for the installation boot option at the first step of the installer. At next step, 2/5, i've chosen to 'Use CDROM or DVD' as my installation media. At step 3/5, i've took 512 MB of RAM and 1 CPU. At step 4/5, i've chosen to 'Enable storage for this virtual machine', and 'Create a '8.0GB' disk image on the computer's hard drive' followed by the 'Allocate entire disk now' option. At last step, i've chosen to bridge my network card with br0 interface, to fix an MAC address and choose 'KVM' virt type with the 'X86_64' architecture. Once my virtual machine is created with my installed operating system on (VM is down for the next operations, but is able to start), i have a disk labeled SOGO.img that represent my hard drive. I've copied this file to a second one, SOGO2.img in the same directory. Once the copying is finished, i choose SOGO in my VM choice (in virt-manager) and i open the VM, for going into the virtual hardware details. I can see my first HD, SOGO.img with 'default' cache mode, raw 'storage format' and 'Virtio' disk bus. Readonly and Shareable isn't checked.
Now will come the bug.
1. I click on the 'Add Hardware' button.
2. I choose to 'Select managed or other existing storage' and i take my SOGO2.img disk.
3. After that, i choose 'IDE' Device type, 'default' Cache mode with no storage specified (it will put automatically raw storage format).
4. I click on the 'Finish' button.
5. Now i can start my VM, but inside the VM, i remember that i need virtio bus, no i shutdown the VM.
6. I return to my details (IDE Disk 1 (SOGO2)), and i change Disk to virtio and i have an error :
<error>
Error starting domain: operation failed: failed to retrieve chardev info in qemu with 'info chardev'
Error starting domain: operation failed: failed to retrieve chardev info in qemu with 'info chardev'
Traceback (most recent call last):
File "/usr/share/
callback(
File "/usr/share/
vm.startup()
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: operation failed: failed to retrieve chardev info in qemu with 'info chardev'
</error>
I need to remove the drive and create one with virtio disk bus for be able to start the machine. I can't change IDE to virtio in the details once the disk is done.
My virt-manager is doing a connection to a machine on the network and both machine use natty.
Sorry, i didn't have the time to test the bug on a RedHat based machine.
Changed in ubuntu: | |
status: | New → Confirmed |
Oupsss, sorry for the first line, it is in my old message that i didn't send.... XD