Re: [PATCH] kvmtool: don't rely on $HOME
2015-09-17 18:53 GMT+03:00 Will Deacon <will.dea...@arm.com>: > > On Thu, Sep 17, 2015 at 03:03:15PM +0100, Alban Crequy wrote: > > kvm__set_dir() called in main() and kvm__get_dir() rely on $HOME. But in > > some environments (such as starting lkvm through systemd-run), $HOME is > > undefined. This causes bind() to use a socket path containing "(null)" > > and this fails. The current code does not check errors returned by > > realpath(). > > > > Symptoms: > > > > | bind: No such file or directory > > | Error: Failed adding socket to epoll > > | Warning: Failed init: kvm_ipc__init > > | > > | Fatal: Initialisation failed > > > > This bug was first reported on https://github.com/coreos/rkt/issues/1393 > > Why not pass HOME via systemd unit for example to Environment=HOME=/var/lib/lkvm ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- 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: Announcing qboot, a minimal x86 firmware for QEMU
2015-05-23 6:55 GMT+03:00 Kevin O'Connor ke...@koconnor.net: Out of curiosity, I ran some additional timing tests. With SeaBIOS fully stripped down (via Kconfig), it takes ~20ms to get to the boot phase on my old AMD system. Of that 20ms, ~7ms is to enable shadow ram, 2ms is to calibrate the cpu timestamp counter, 4ms is for pci init, and ~6ms is to make the shadow ram area read-only. The time in the remaining parts of the SeaBIOS code is so small that it's hard to measure. Can you share config for seabios? As i understand i can safety to remove keybord, ps2, usb, ata/ahci and leave only virtio (in case of using qemu to boo linux/freebsd/windows systems) ? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- 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: freebsd 10 under linux with kvm and apicv
2014-12-03 18:00 GMT+03:00 Paolo Bonzini pbonz...@redhat.com: Hi, I think the problem was already reported, but I haven't reproduced it yet (no machine with apicv). I have reproduce it. But very strange. I don't disable apicv in kvm_intel module. If i start freebsd 10.1 with 1Gb ram all works fine. If i start it with 4Gb ram - it hang in atkbd.0 when try to resetting keyboard controller. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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
freebsd 10 under linux with kvm and apicv
Hello. I found some issues with enable_apicv=Y and freebsd, does this problem solved or no? I'm have latest linux 3.10.x. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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: freebsd 10 under linux with kvm and apicv
2014-12-01 15:38 GMT+03:00 Vasiliy Tolstov v.tols...@selfip.ru: Hello. I found some issues with enable_apicv=Y and freebsd, does this problem solved or no? I'm have latest linux 3.10.x. Also i'm succeseful run freebsd 10 with 1Gb memory, but failed to boot with 4gb memory. But in this case i think that is feebsd problem. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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: [fedora-virt] 3.13 - Nested KVM (vmx) totally broken?
2014-03-07 1:59 GMT+04:00 Richard W.M. Jones rjo...@redhat.com: On Tue, Mar 04, 2014 at 09:13:40AM +0100, Paolo Bonzini wrote: Il 04/03/2014 03:40, Ian Pilcher ha scritto: Is this a known problem? I just tried using nested vmx for the first time since upgrading my system from F19 (3.12.?? at the time) to F20, and I cannot start any L2 guests. The L2 guest appears to hang almost immediately after starting, consuming 100% of one of the L1 guest's VCPUs. If I reboot with kernel-3.12.10-300.fc20.x86_64, the problem does not occur. Any known workaround? (Other than using 3.12.10?) There is a fix on the way to the 3.13 kernel. You can open a Fedora bug and ask them to include http://article.gmane.org/gmane.linux.kernel.stable/82043/raw in the kernel. Thanks for fixing this. It affects a lot of libguestfs users too. I opened this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1073663 Rich. If i use 3.13.6 kernel that have alredy this patch, but sometimes i get kernel panic, what can i do? P.S. I'm using nested virt, fault from L2 [ 10.942007] PANIC: double fault, error_code: 0x0 [ 10.942007] CPU: 0 PID: 182 Comm: systemd-journal Not tainted 3.13.6 #3 [ 10.942007] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.942007] task: 88001cc08000 ti: 88001d70e000 task.ti: 88001d70e000 [ 10.942007] RIP: 0033:[7fe61b2fce8a] [7fe61b2fce8a] 0x7fe61b2fce8a [ 10.942007] RSP: 002b:7fffee7468d8 EFLAGS: 00010286 [ 10.942007] RAX: RBX: 0043344e RCX: 00430a70 [ 10.942007] RDX: 0010 RSI: RDI: 00430a70 [ 10.942007] RBP: 7fffee747130 R08: 0003 R09: 7fe61be81780 [ 10.942007] R10: R11: 0246 R12: 0001 [ 10.942007] R13: 01c9c380 R14: 0003 R15: 7fffee747148 [ 10.942007] FS: 7fe61be81780() GS:88001f80() knlGS: [ 10.942007] CS: 0010 DS: ES: CR0: 80050033 [ 10.942007] CR2: CR3: 1e1a2000 CR4: 06f0 [ 10.942007] [ 10.942007] Kernel panic - not syncing: Machine halted. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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: [fedora-virt] 3.13 - Nested KVM (vmx) totally broken?
2014-03-14 15:58 GMT+04:00 Richard W.M. Jones rjo...@redhat.com: It could be there is another, less frequent, bug in nested KVM. I'm assuming this is on Intel hardware? From the libguestfs point of view what you can do is to force TCG: export LIBGUESTFS_BACKEND_SETTINGS=force_tcg Unfortunately this only has an effect in libguestfs = 1.25.24. We're going to have the new version in Fedora 20 real soon -- probably before the end of this month. Or you can compile the Rawhide version on F20. Thanks for answer. I'm not using libguestfs. I'm try tun vm inside vm via libvirt. is that possible to debug this issue ? How can i help? P.S. Yes i'm using intel hardware. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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: [fedora-virt] 3.13 - Nested KVM (vmx) totally broken?
2014-03-14 16:16 GMT+04:00 Richard W.M. Jones rjo...@redhat.com: You can set the VM domain type=qemu. Of course it'll run quite slowly. is that possible to debug this issue ? How can i help? Complete logs from the guest. Any messages from qemu or the host. put all of that into a full bug report. Where i can find submission form for bug report? (I'm using exherbo linux, but it does not have like debian or sles personal patches and using only upstream) -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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
kernel panic with 3.13.6
Hello. Where i can get help? I'm using 9p_virtio to provide rootfs for vm sometimes (3 - 6 times in 10 vps starts) when i have massive read/write i get: [ 2478.288105] PANIC: double fault, error_code: 0x0 [ 2478.301397] CPU: 1 PID: 5268 Comm: bash Not tainted 3.13.6 #3 [ 2478.301397] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2478.301397] task: 88001d5817c0 ti: 88001d0e2000 task.ti: 88001d0e2000 [ 2478.301397] RIP: 0033:[004a79c6] [004a79c6] 0x4a79c6 [ 2478.301397] RSP: 002b:7fffbace0230 EFLAGS: 00010246 [ 2478.301397] RAX: RBX: 0003 RCX: 0030 [ 2478.301397] RDX: 0020 RSI: 004ac438 RDI: 0020 [ 2478.301397] RBP: 0003 R08: R09: 1494 [ 2478.301397] R10: 7f0f8947a9d0 R11: 0246 R12: 004ac438 [ 2478.301397] R13: 0460 R14: 0020 R15: 01e3b800 [ 2478.301397] FS: 7f0f8947a700() GS:88001f90() knlGS: [ 2478.301397] CS: 0010 DS: ES: CR0: 8005003b [ 2478.301397] CR2: CR3: 1cce CR4: 06e0 [ 2478.301397] [ 2478.301397] Kernel panic - not syncing: Machine halted. qemu --version QEMU emulator version 1.7.0, Copyright (c) 2003-2008 Fabrice Bellard libvirtd --version libvirtd (libvirt) 1.2.1 -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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
seabios support
Hi all, I want to understand how can i implement seabios support in native linux kvm tool. P.S. I'm try to understand how kvm works and try to run simple vm via ioctls to /dev/kvm in golang. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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
libvirt-qpid
Hello, some time ago i found libvirt-qpid. Why nobody supporting this project anymore? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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: What cpu for 60-120 vmы?
thanks for responses. 2013/2/28 Paolo Pedaletti paolo.pedale...@gmail.com: ciao Vasiliy, Each vm have apache+mysql so huge RAM (for web and db cache) and fast storage (for db) ciao -- Paolo Pedaletti -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru jabber: v...@selfip.ru -- 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: one question about virualization and kvm
В Срд, 01/04/2009 в 09:01 -0500, Javier Guerra пишет: On Wed, Apr 1, 2009 at 7:27 AM, Vasiliy Tolstov v.tols...@selfip.ru wrote: Hello! I have two containers with os linux. All files in /usr and /bin are identical. Is that possible to mount/bind /usr and /bin to containers? (not copy all files to containers).. ? the problem (and solution) is exactly the same as if they weren't virtual machines, but real machines: use the network. simply share the directories with NFS and mount them in your initrd scripts (preferably read/only). other way would be to set a new image file with a copy of the directories, and mount them on both virtual machines. of course, now you MUST mount them as readonly. and you can't change anything there without ummounting from both VMs. usually it's not worth it, unless you have tens of identical VMs Thank You for answer. But if i store 100-200 kvm guests under one host system, and mount all shared resources via nfs - can this slow down my system? I need only read only access to shared files (only /home and /etc/ is different) -- Vasiliy Tolstov v.tols...@selfip.ru Selfip.Ru -- 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
one question about virualization and kvm
Hello! I have two containers with os linux. All files in /usr and /bin are identical. Is that possible to mount/bind /usr and /bin to containers? (not copy all files to containers).. ? P.S. Sorry for bad english and may be stupid question. -- Vasiliy Tolstov v.tols...@selfip.ru Selfip.Ru -- 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