[Bug 684127] Re: virsh adds automatically type='raw' to a disk session
Hallo James No, I do not generate the definition of the vm by myself, I use opennebula (version 2.0.1, but versions 1.2 or 1.4 would be affected, too) Opennebula allows to define the format after the version 2.0.1-1, so it is no longe a big concern. I had configured allow_disk_format_probing in the hosts /etc/libvirt/qemu.conf, since I have read the supposicions of security vulnerability and could not agree with it. I think we can close this as bug, but let it open as sugestion. Thank you very much and best regards. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. https://bugs.launchpad.net/bugs/684127 Title: virsh adds automatically type='raw' to a disk session -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 684127] Re: virsh adds automatically type='raw' to a disk session
Version: Maverick. ii kvm 1:84+dfsg-0ubuntu16+0.12.5+noroms+0ubuntu7.1 ii kvm-pxe 5.4.4-7ubuntu2 PXE ROM's for KVM ii libvirt-bin 0.8.3-1ubuntu14 the programs for the libvirt library ii libvirt0 0.8.3-1ubuntu14 library for interfacing with different virtualization systems ii libvirtodbc0 6.1.2+dfsg1-1ubuntu4 high-performance database - ODBC libraries ii qemu-common 0.12.5+noroms-0ubuntu7.1 qemu common functionality (bios, documentation, etc) ii qemu-kvm 0.12.5+noroms-0ubuntu7.1 Full virtualization on i386 and amd64 hardware ii qemu-kvm-extras 0.12.5+noroms-0ubuntu7.1 fast processor emulator binaries for non-x86 architectures -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. https://bugs.launchpad.net/bugs/684127 Title: virsh adds automatically type='raw' to a disk session -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 684127] [NEW] virsh adds automatically type='raw' to a disk session
Public bug reported: Please report to https://bugzilla.redhat.com/show_bug.cgi?id=659262 for more information. This Bug has a patch as in: http://www.redhat.com/archives/libvir-list/2010-December/msg00103.html Description of problem: If you do not specify the type of the disk in the driver subelement of domain xml, virsh automatically inserts type raw, without testing for the real type of the image. Version-Release number of selected component (if applicable): virsh 0.8.3 ( Debian-backports 0.8.3-4~bpo50+1 ) How reproducible: Everytime Steps to Reproduce: 1. Create a domain from a xml which disks have no driver element: (SNIP /tmp/one-7050.xml) disk type='file' device='disk' source file='/var/lib/one/7035/images/disk.0'/ target dev='hda'/ model type='virtio'/ /disk (SNIP) $ onevm create /tmp/one-7035.xml 2. Dump the xml of the domain: $ onevm dumpxml one-7035 (SNIP) disk type='file' device='disk' driver name='qemu' type='raw'/ source file='/var/lib/one/host1/images/disk.0'/ target dev='hda' bus='ide'/ alias name='ide0-0-0'/ address type='drive' controller='0' bus='0' unit='0'/ /disk (SNIP) Actual results: driver name='qemu' type='raw'/ AND domain cannot boot from the disk Expected results: driver name='qemu' type='qcow2'/ # or nothing at all AND domain would boot as a charm. Additional info: This would be not a problem by manual generation of the domain xml file, since we could simply insert it. The problem will treat bad if we have a VMM generating this xml automatically.. as it is our fall, as we are using opennebula for this. ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. https://bugs.launchpad.net/bugs/684127 Title: virsh adds automatically type='raw' to a disk session -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 656173] Re: libvirt no longer probes chained backing stores
I can see already a Problem with the opennebula package. It will no longer work, since it does not generate this information on the domain xmls - it would not have this information anyway - else if it would probe for the data type of the image, this - we are being told - being a security issue. @Jamie: I think the OS *in the guest* should never ever have access to the file of the image! It should only have access to the virtualized disks, not to the file itself, where the backingstore informations are. If it is now so, then the issue is rooted in qemu/kvm and not in libvirt. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu. https://bugs.launchpad.net/bugs/656173 Title: libvirt no longer probes chained backing stores -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs