[no subject]
http://www.escuelahispanomexicana.edu.mx/stores.php -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[no subject]
http://www.cir-rosario.com.ar/peper.php -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[no subject]
http://www.streetperformanceteam.ch/important.php -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[no subject]
http://maralemprendimientos.com/important.php -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[no subject]
http://www.decaza.com/TER healthtworx.ru cid=extasy.html -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[no subject]
http://kortina94.com/mydocs.php -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[no subject]
http://satimis.blog-discount.com -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[no subject]
http://www.satimis.multi-drugs.com -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re How to restore a deleted VM (SOLVED
Hi folks, Problem solved as follow; $ sudo virsh define /etc/libvirt/gemu/VM.xml Now Virtual Machine Manager finds the VM guest. I'm interested to know which file holds such entry/data? TIA B.R. Stephen L message from sati...@pacific.net.hk - Date: Sat, 17 Jul 2010 17:40:59 +0800 From: sati...@pacific.net.hk Reply-To: sati...@pacific.net.hk Subject: How to restore a deleted VM To: kvm@vger.kernel.org How folks, KVM host - Debian 5.0 Accidentally I deleted a VM on the VirtualMachineManager. VM.xml is still in /etc/libvirt/qemu/VM.xml VM.qcow2 still in /VM/VM.qcow2 Please advise how to add it back? TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
How to restore a deleted VM
How folks, KVM host - Debian 5.0 Accidentally I deleted a VM on the VirtualMachineManager. VM.xml is still in /etc/libvirt/qemu/VM.xml VM.qcow2 still in /VM/VM.qcow2 Please advise how to add it back? TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
About sound problem on guests
Hi folks, KVM - 1:0.12.4+dfsg-1~bpo50+1 0 host - Debian 5.0 I have been suffering sound problem on guests for sometimes. Please advise whether the same has been solved. If YES please advice how to solve it. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
About upgrade KVM
Hi folks, KVM -virtualizer host - Debian 5.0 This virtual machine has been running for sometimes. IIRC the KVM was download from KVM website. Its version is quite old. $ sudo kvm | head -1 QEMU PC emulator version 0.9.1 (kvm-72), Copyright (c) 2003-2008 Fabrice Bellard $ apt-cache policy qemu-kvm qemu-kvm: Installed: (none) Candidate: 0.12.4+dfsg-1~bpo50+1 Version table: 0.12.4+dfsg-1~bpo50+1 0 1 http://www.backports.org lenny-backports/main Packages I tried to upgrade it on System -> Administration -> Synaptic Package Manager; - qemu-kvm - qemu-kvm-dbg On marking them to install following warning popup:- Mark additional required changes? To be removed kvm To be added libasyncns0 libcap1 libpulse0 - end - My questions are; 1) On deleting the old package whether it would affect the running virtual machine? 2) Is there any way to come back in case of problem? Please advise. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
"Copy and paste" feature across guest and host
Hi folks, Just installed Fedora13 as guest on KVM. However there is no cross-platform "copy and paste" feature. I trust I have setup this feature on other guest sometime before. Unfortunately I can't the relevant document. Could you please shed me some light. Pointer would be appreciated. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: All Ubuntu guest don't work
Quoting Anthony Liguori : On 05/25/2010 07:31 PM, sati...@pacific.net.hk wrote: Hi Anthony, $ sudo kvm | head -1 QEMU PC emulator version 0.9.1 (kvm-72), Copyright (c) 2003-2008 Fabrice Bellard That's extremely old. You should update to a newer version. Hi Anthony, Further to my late posting. Something I can't explain. Just rebooted to the new kernel. This time all Ubuntu guests worked including the newly installed Ubuntu 10.04 desktop. Debian and Windows guest also worked. Funny !!! B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: All Ubuntu guest don't work
- snip - $ sudo kvm | head -1 QEMU PC emulator version 0.9.1 (kvm-72), Copyright (c) 2003-2008 Fabrice Bellard That's extremely old. You should update to a newer version. Hi Anthony, I found my problem was caused by running the new kernel of the host (Debian 5.0 32 bit), causing all Ubuntu guests unable to boot. The kernel has been upgraded recently. I booted the old kernal $ uname -a Linux vm0.debian50 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC 2009 i686 GNU/Linux All Ubuntu guests revived (all 32 bit). The new kernel is; Debian GNU/Linux, kernel 2.6.26-2-686 Ubuntu 10.04 (32 bit) can be installed without problem. Anything can I try before upgrade qemu/KVM ? Thanks B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: All Ubuntu guest don't work
Quoting Anthony Liguori : On 05/25/2010 06:43 PM, sati...@pacific.net.hk wrote: Hi folks, host - debian 5.0 guests - Debian/Windows/Ubuntu Recently I found all Ubuntu guests can't boot hanging on. kernel_thread_helper+0x7/0x10 - end - I even can't start on recovery mode. Other guests are working properly. Just tried installing a new Ubuntu 10.04 guest without success. The CD started to boot but hanging on the screen finally; What version of qemu/kvm in your host? Regards, Anthony Liguori Hi Anthony, $ sudo kvm | head -1 QEMU PC emulator version 0.9.1 (kvm-72), Copyright (c) 2003-2008 Fabrice Bellard Thanks B.R. Stephen Liu .. ? kernel_init+0x67/0x10 ? kernel_thread_helper+0x7/0x10 Clocksource tsc unstable (delta = 2081173336636 na) - end - Please help. TIA B.R Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
All Ubuntu guest don't work
Hi folks, host - debian 5.0 guests - Debian/Windows/Ubuntu Recently I found all Ubuntu guests can't boot hanging on. kernel_thread_helper+0x7/0x10 - end - I even can't start on recovery mode. Other guests are working properly. Just tried installing a new Ubuntu 10.04 guest without success. The CD started to boot but hanging on the screen finally; .. ? kernel_init+0x67/0x10 ? kernel_thread_helper+0x7/0x10 Clocksource tsc unstable (delta = 2081173336636 na) - end - Please help. TIA B.R Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Ubuntu VM unable to start
Hi folks, Host - Debian 5.04 I have Debian/Windows/Ubuntu guests running on the box. For unknown reason recently all Ubuntu guests can't start. Other guests are working. Just tried installing a new Ubuntu 10.04 guest without success. The guest started to boot but hanging on the screen finally. B.R Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Question on stopping KVM start at boot
Hi Dustin, - snip - Where shall I add "-b" option? Thanks modprobe -b says "respect the blacklists". See: * http://manpages.ubuntu.com/manpages/lucid/en/man8/modprobe.8.html -b --use-blacklist This option causes modprobe to apply the blacklist commands in the configuration files (if any) to module names as well. It is usually used by udev(7). So you would change the lines that say "if modprobe ..." to "if modprobe -b ..." Your advice works for me. Thanks B.R. Stephen -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Question on stopping KVM start at boot
Quoting Bitman Zhou : - snip - Please what further command I have to run in order to activate the new blacklist.conf ? For Ubutnu, you can just use update-rc.d sudo update-rc.d kvm disable to disable kvm and sudo update-rc.d kvm enable to enable it again. Tks for your advice. B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Question on stopping KVM start at boot
Hi Dustin, Thanks for your advice. - snip - Or you can edit the /etc/init.d/kvm or /etc/init.d/qemu-kvm init script and add the "-b" option to the modprobe calls in there. $ cat /etc/init.d/kvm | grep modprobe No printout $ cat /etc/init.d/qemu-kvm | grep modprobe if modprobe "$module" . if modprobe "$module" then log_end_msg 0 else log_end_msg 1 exit 1 fi ;; Where shall I add "-b" option? Thanks B.R. Stephen -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Question on stopping KVM start at boot
Hi folks. Host - ubuntu 9.10 64bit Virtualizer - KVM I need to stop KVM starting at boot. I added following 2 lines at the bottom of /etc/modprobe.d/blacklist.conf blacklist kvm blacklist kvm-amd Reboot PC It doesn't work. $ lsmod | grep kvm kvm_amd41556 0 kvm 190648 1 kvm_amd Please what further command I have to run in order to activate the new blacklist.conf ? TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
About creating VM
Hi folks, Host - Ubuntu 9.10 64bit Virtualizer - KVM I followed; Virtualization With KVM On Ubuntu 9.10 http://www.howtoforge.com/virtualiza...on-ubuntu-9.10 to install this Virtual Machine. The steps worked without problem. But I have following points can't be resolved:- 1) I can't find the option on vmbuilder for selecting the packages to install. (no GUI) 2) If the OS to be installed is an iso image what command shall I run, especially Windows? 3) I tried to run "rdesktop" to connect the VM without success. I have no idea what shall I replace for "abcd", e.g $ rdesktop -a 16 -N 192.168.0.200:abcd 192.168.0.200 is the host ip address. 4) Finally I install virt-manager. It works to connect the VM Please help. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: How to disable KVM start at boot (SOLVED)
Quoting "Hao, Xudong" : - snip - But Yolkfull's suggestion is good for you to not load kvm module when boot system. Add the two line in /etc/modprobe.d/blacklist.conf according to your system, then reboot. blacklist kvm blacklist kvm_amd Hi Xudong Add; blacklist kvm blacklist kvm-amd to the end of /etc/modprobe.d/blacklist.conf Reboot PC # lsmod | grep kvm No printout But still I can start and run 64bit Fedora12 VM and 64 bit Debian504 VM. However the speed is very slow. 64bit Win7 and 64bit Windows Server 2008 can't start. After running; # modprobe kvm && modprobe kvm-amd everything becomes normal. Thanks B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to disable KVM start at boot (SOLVED)
Quoting Yolkfull Chow : - snip - Hi, You can comment all content of this file: /etc/sysconfig/modules/kvm.modules and #modprobe kvm && modprobe kvm_intel if need. Hi Yolkfull, $ cat /etc/sysconfig/modules/kvm.modules #!/bin/sh if [ $(grep -c vmx /proc/cpuinfo) -ne 0 ]; then modprobe -b kvm-intel >/dev/null 2>&1 fi if [ $(grep -c svm /proc/cpuinfo) -ne 0 ]; then modprobe -b kvm-amd >/dev/null 2>&1 fi - end - Comment out all lines as advised. Reboot PC # lsmod | grep kvm No printout But still I can start and run 64bit Fedora12 VM and 64 bit Debian504 VM. However the speed is very slow. 64bit Win7 and 64bit Windows Server 2008 can't start. After running; # modprobe kvm && modprobe kvm-amd everything becomes normal. Thanks B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: How to disable KVM start at boot
Quoting "Hao, Xudong" : sati...@pacific.net.hk wrote: Quoting "Hao, Xudong" : # chkconfig --level 35 kvm off error reading information on service kvm: No such file or directory I'm not try F12 maybe some pakeage missed. just googled then find answer. so if you get this error also and you have a redhat centos or fedora core linux distribution just send this command to install dovecot yum install dovecot http://www.wallpaperama.com/forums/error-reading-information-on-service-dovecot-no-such-file-or-directory-t6073.html Hi Hao, Sorry I don't follow. Does dovecot has connection with KVM? B.R. Stephen -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to disable KVM start at boot
Quoting Yolkfull Chow : $ lsmod | grep kvm kvm_amd38452 0 kvm 163952 1 kvm_amd # chkconfig --level 35 kvm off error reading information on service kvm: No such file or directory I tried to disable qemu on Gnome; System -> Administration -> Services -> highlight qemu -> Disable (kvm is NOT there) Next boot $ lsmod | grep kvm kvm_amd38452 0 kvm 163952 1 kvm_amd still there If you want kvm related kernel modules not to be loaded at next boot, you can add then into blacklist: /etc/modprobe.d/blacklist.con Hi Yolkfull, Thanks for your advice. Could you please explain in more detail. $ cat /etc/modprobe.d/blacklist.conf # watchdog drivers blacklist i8xx_tco # framebuffer drivers blacklist aty128fb blacklist atyfb blacklist radeonfb blacklist i810fb blacklist cirrusfb blacklist intelfb blacklist kyrofb blacklist i2c-matroxfb blacklist hgafb blacklist nvidiafb blacklist rivafb blacklist savagefb blacklist sstfb blacklist neofb blacklist tridentfb blacklist tdfxfb blacklist virgefb blacklist vga16fb # ISDN - see bugs 154799, 159068 blacklist hisax blacklist hisax_fcpcipnp # sound drivers blacklist snd-pcsp What shall I add on this config file? How can I start KVM after booting if needed. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: How to disable KVM start at boot
Quoting "Hao, Xudong" : That's right. I run it on RHEL system, F12 should be same, you can have a try. Hi Hao, $ lsmod | grep kvm kvm_amd38452 0 kvm 163952 1 kvm_amd # chkconfig --level 35 kvm off error reading information on service kvm: No such file or directory I tried to disable qemu on Gnome; System -> Administration -> Services -> highlight qemu -> Disable (kvm is NOT there) Next boot $ lsmod | grep kvm kvm_amd38452 0 kvm 163952 1 kvm_amd still there B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RE: How to disable KVM start at boot
Quoting "Hao, Xudong" : chkconfig --level 35 kvm off Hi Hao, Thanks for your advice. Please help me to understand:- 1) chkconfig - is a small package to update and query runlevel info for system services --level 35 specifies runlevels 3 and 5 That means on next booting KVM won't start automatically. To start KVM after boot manually run; # /etc/init.d/kvm start (I'm now on Debian box. Fedora 12 may differ.) 2) To restore KVM to its original setup then run; # chkconfig --level 35 kvm on On next booting KVM will start automatically. If I'm wrong please help. TIA B.R. Stpehen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
How to disable KVM start at boot
Hi folks, Host - Fedora 12 64bit I need to start KVM manually after booting Fedora. Please advise how to disable KVM start at booting. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Fail to attach CDWriter
Hi folks KVM Host - Fedora 12 64bit VM (guest) - Windows Server 2008 64bit Fail to attach CDWriter. $ sudo virsh -c qemu:///system start vm06_wser08 Domain vm06_wser08 started $ cat VM/DEV/cd.xml $ sudo virsh attach-device vm06_wser08 VM/DEV/cd.xml error: Failed to attach device from VM/DEV/cd.xml error: server closed connection $ sudo tail /var/log/messages Feb 19 15:45:36 localhost kernel: br0: port 2(vnet0) entering forwarding state Feb 19 15:48:31 localhost libvirtd: 15:48:31.574: error : qemudDomainChangeEjectableMedia:5186 : internal error No device with bus 'ide' and target 'hdc' Feb 19 15:48:31 localhost kernel: libvirtd[1738]: segfault at 70 ip 004367e2 sp 7f210acfc8f0 error 4 in libvirtd[40+7f000] Feb 19 15:48:31 localhost abrtd: Directory 'ccpp-1266565711-1639' creation detected Feb 19 15:48:31 localhost abrtd: Lock file '/var/cache/abrt/ccpp-1266565711-1639.lock' is locked by process 21223 Feb 19 15:48:32 localhost abrtd: Lock file '/var/cache/abrt/ccpp-1266565711-1639.lock' is locked by process 21223 Feb 19 15:48:33 localhost abrt[21223]: saved core dump of pid 1639 (/usr/sbin/libvirtd) to /var/cache/abrt/ccpp-1266565711-1639/coredump (60129280 bytes) Feb 19 15:48:33 localhost abrtd: Getting local universal unique identification... Feb 19 15:48:33 localhost abrtd: New crash, saving Feb 19 15:48:33 localhost abrtd: RunApp('/var/cache/abrt/ccpp-1266565711-1639','test x"`cat component`" = x"xorg-x11-server-Xorg" && cp /var/log/Xorg.0.log .') If I put following content on vm06_wser08 ; (cd.xml) Then it works. CDWriter can be attached to Vista. But I must insert the CD on the drive before starting vm06_wser08. Otherwises it complains. Please help. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to convert a physical drive (running Vista) as VM to be run on KVM
Hi Thomas, Thanks for your advice. Quoting Thomas Beinicke : - snip - When you "dd" off a device it will always be raw format, kvm will recognize it as raw even though the extension is qcow2. If you really want a qcow container you have to convert it with "qemu-img". I made following test before; $ sudo qemu-img convert VM/VMWIN/vm07_vista.qcow2 -O raw /dev/sdb qemu-img: Error while formatting '/dev/sdb' I don't understand why it needs to format the hard drive? I need to keep this hard drive including its OS without touched. Please help. TIA Will /etc/libvirt/qemu/vm07_vista.xml be created automatically running above command? For hard drives you should use something like this: -drive file=hda.qcow2,boot=on Sorry I don't follow. Please explain in more detail. Other advice noted with thanks. B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
How to convert a physical drive (running Vista) as VM to be run on KVM
Hi folks, Host - Fedora 12 64bit Windows Vista 32bit - running another drive KVM $ sudo fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0003a4bf Device Boot Start End Blocks Id System /dev/sda1 * 1 26 204800 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 26 121601 976555201 8e Linux LVM Disk /dev/sdb: 40.0 GB, 40027029504 bytes 255 heads, 63 sectors/track, 4866 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0883bef2 Device Boot Start End Blocks Id System /dev/sdb1 * 14867390860807 HPFS/NTFS Disk /dev/dm-0: 989.7 GB, 989704749056 bytes 255 heads, 63 sectors/track, 120324 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1: 10.3 GB, 10284433408 bytes 255 heads, 63 sectors/track, 1250 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x Disk /dev/dm-1 doesn't contain a valid partition table - end - I have created; $ sudo dd if=/dev/sdb of=/home/satimis/VM/VMWIN/vm07_vista.qcow2 78177792+0 records in 78177792+0 records out 40027029504 bytes (40 GB) copied, 1160.35 s, 34.5 MB/s I haven't figured out what options will be up on running; qemu /home/satimis/VM/VMWIN/vm07_vista.qcow2 -m 1024 ? -soundhw all ? etc. Will /etc/libvirt/qemu/vm07_vista.xml be created automatically running above command? Please shed me some light. Pointer would be appreciated. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to edit *.qcow2
Hi Liang, Thanks for your advice and link. Host - Debian 5.0 KVM libvirt run kvm-nbd VM/vm30.qcow2, modprobe nbd nbd-client localhost 1024 /dev/nbd0 then you can use /dev/nbd0 as a block device like /dev/sda I've write a little essay on how to install Debian on kvm image, FYI: http://blog.chinaunix.net/u/7667/showart_2112267.html I can't find kvm-nbd and nbd-client. I have nbd installed already. $ yum list nbd Loaded plugins: presto, refresh-packagekit Available Packages nbd.x86_642.9.13-1.fc12 fedora $ which kvm-nbd /usr/bin/which: no kvm-nbd in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/satimis/bin) $ which qemu-nbd /usr/bin/qemu-nbd $ which nbd-client /usr/bin/which: no nbd-client in (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/satimis/bin) I suppose qemu-nbd = kvm-nbd ? Where is nbd-client ? Any advice? TIA B.R. Stephen -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Convert KVM to VirtualBox
Hi Alex, Thanks for your advice. Just qemu-img convert the image to raw and use that as disk image in vbox. Make sure you configure your vm to the same hw as on kvm (apic, piix3, etc) Could you please explain in more detail "... configure your vm to the same hw as on kvm (apic, piix3, etc)"? The image file of vm is *.qcow2. I'll run VirtualBox on KVM if possible. The former is desktop virtualization. Ah a further thought can convert vm across PCs? That is VirtualBox is running on another PC. But seriously, why would anyone want to go this direction? I can't get sound work on vm. Therefore I expect trying VirturlBox to check whether it can sort out this problem. I'll run VirtualBox on KVM if possible. The former is desktop virtualization. B.R. Stephen -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Convert KVM to VirtualBox
Hi folks, I need converting KVM (qcow2) to VirtualBox (vdi) from one PC to another PC. Google didn't find many threads concerned, instead the other way around. However it found only one; How to Convert a KVM to a VDI http://www.ehow.com/how_5856610_convert-kvm-vdi.html If I read the article correctly it seems both KVM and VirtualBox are running on the same PC, VirtualBox running on KVM. Do you have any idea/suggestion where can I find relevant documentation? TIA. B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: Can VM be copied to another PC (Solved)
Hi kashyap, Thanks for your advice. Quoting Kashyap Chamarthy : On Mon, Feb 1, 2010 at 9:32 AM, wrote: - snip - 1) 'virsh dumpxml '(this will dump the guest machine info. into XML) 2) copy your qcow2(or whatever format) image files from host1 to host2(which of similar config as host1) 3) 'virsh define ' for the dumped xml files from step 1) (for each of the guests) 4) Now you should be good to start/run the guests on your host2 running KVM Your milage may vary. See virsh manpages for more. Your advice works here. host-1 Debian 5.0 32bit host-2 Fedora 12 64bit But have to edit /etc/libvirt/qemu/VM.xml changing; /usr/bin/kvm as; /usr/bin/qemu-kvm I tried my steps suggested on my original posting. It works as well. Changing VM.xml as mentioned above is also necessary. B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
No sound
Hi folks, Host - Debian 5.0 KVM VM - Ubuntu 9.10 No sound on playing youtube. Volume on host and VM has been turned to max, Virtual Machine Manager Edit -> Preferences Install Audio Device [check] Local VM Please help. TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
virt-manager fails to start
Hi folks, KVM Virt-manager host - Debian 5.0 Starting; Gnome Applications -> System Tools - Virtual Machine Manager popup following error; Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager.py", line 346, in main() File "/usr/share/virt-manager/virt-manager.py", line 248, in main setup_logging() File "/usr/share/virt-manager/virt-manager.py", line 124, in setup_logging os.mkdir(vm_dir) OSError: [Errno 17] File exists: '/home/satimis/.virt-manager' - end - $ ls -al /home/satimis/ | grep virt-manager drwxr-xr-x 2 rootroot 4096 2009-05-31 06:11 .virt-manager $ mv /home/satimis/.virt-manager /home/satimis/.virt-manager.old01 Restart Applications -> System Tools - Virtual Machine Manager starting GUI virt-manager but without asking for login as root $ ls -al /home/satimis/ | grep virt-manager drwxr-xr-x 2 satimis satimis4096 2010-01-31 10:00 .virt-manager If changing the owner by running $ sudo chown root:root /home/satimis/.virt-manager GUI virt-manage can't start with abovementioned warning pop. Please advise how to fix this problem. I expect with root-password to start GUI virt-manager TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
How to edit *.qcow2
Hi folks, KVM host – Debian 5.0 I need to mount kvm/qemu *.qcow2 image amending/reading its content. I can't figure out the type of file "-t" 1. mount -t mke2fs -o loop VM/vm30.qcow2 /mnt 2. mount -t e2fs -o loop VM/vm30.qcow2 /mnt 3. mount -o loop VM/vm30.qcow2 /mnt 4. mount -t ext3 -o loop VM/vm30.qcow2 /mnt 5. mount -t ext2 -o loop VM/vm30.qcow2 /mnt None of them can work. Please help TIA Pointer would be appreciated. B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Can VM be copied to another PC
Hi folks, Host – Fedora 12 64bit KVM – virtualization software I have 8 VMs on this virtual machine running different OS. Can VMs be moved/copied to another PC of similar hardware config running Fedora 12 (64bit) as host and KVM If Yes, whether copying following files, e.g. copying following files and paste them on the same /path/to/directory # ls -l /etc/libvirt/qemu/ total 52 ... -rw--- 1 root root 1293 2010-01-14 22:48 vm01.xml -rw--- 1 root root 1293 2010-01-11 17:19 vm02.xml -rw--- 1 root root 1302 2010-01-11 19:11 vm03_ub9164.xml -rw--- 1 root root 1273 2010-01-12 02:09 vm04_f1264.xml -rw--- 1 root root 1193 2010-01-23 02:21 vm05_wser08.xml -rw--- 1 root root 1368 2010-01-25 22:44 vm06_wser08.xml -rw--- 1 root root 1389 2010-01-27 11:04 vm07_wser0832.xml -rw--- 1 root root 1370 2010-01-27 22:23 vm08_vista32.xml ... # ls -l /home/satimis/ | grep vm -rwxr-xr-x 1 root root 12884901888 2010-01-22 07:56 vm03_9164.qcow2 # ls -l /home/satimis/VM/ | grep vm -rwxr-xr-x 1 root root 12884901888 2010-01-23 08:19 vm01.qcow2 -rwxr-xr-x 1 root root 12884901888 2010-01-23 08:16 vm02.qcow2 -rwxr-xr-x 1 root root 12884901888 2010-01-26 22:33 vm04_f1264.qcow2 # ls -l /home/satimis/VM/VMWIN/ | grep vm -rwxr-xr-x 1 root root 32212254720 2010-01-23 06:55 vm05_wser08.qcow2 -rwxr-xr-x 1 root root 32212254720 2010-01-27 23:07 vm06_wser08.qcow2 -rwxr-xr-x 1 root root 32212254720 2010-01-27 12:45 vm07_wser0832.qcow2 -rwxr-xr-x 1 root root 32212254720 2010-01-28 00:14 vm08_vista32.qcow2 What about if the host is running different OS, say Debian etc. can it also work? TIA B.R. Stephen L -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html