Re: I/O scheduling on block devices

2012-12-18 Thread Javier Guerra Giraldez
On Tue, Dec 18, 2012 at 4:41 PM, Andrew Holway a.hol...@syseleven.de wrote: How should I set up io scheduling with this configuration. Performance is not so great and I have a feeling that all of the io schedulers in my VMs and the ones on my host are not having a nice party together. most

Re: [User Question] How to create a backup of an LVM based maschine without wasting space

2012-10-14 Thread Javier Guerra Giraldez
On Sat, Oct 13, 2012 at 5:25 PM, Lukas Laukamp lu...@laukamp.me wrote: I have backed up the data within the machine with partimage and fsarchiver. But it would be greate to have a better way than doing this over a live system. make no mistake, the absolutely best way is from within the VM.

Re: [User Question] How to create a backup of an LVM based maschine without wasting space

2012-10-12 Thread Javier Guerra Giraldez
On Fri, Oct 12, 2012 at 9:25 AM, Stefan Hajnoczi stefa...@gmail.com wrote: I would leave them raw as long as they are sparse (zero regions do not take up space). If you need to copy them you can either convert to qcow2 or use tools that preserve sparseness (BTW compression tools are good at

Re: [User Question] How to create a backup of an LVM based maschine without wasting space

2012-10-12 Thread Javier Guerra Giraldez
On Fri, Oct 12, 2012 at 3:56 PM, Lukas Laukamp lu...@laukamp.me wrote: I think that it must be possible to create an image with a size like the used space + a few hundret MB with metadata or something like that. the 'best' way to do it is 'from within' the VM the typical workaround is to

Re: [Question] Live migration - normal process migration

2012-10-09 Thread Javier Guerra Giraldez
On Tue, Oct 9, 2012 at 9:36 AM, Grzegorz Dwornicki gd1...@gmail.com wrote: I have a question to you guys. Is it possible to use code from live migration of KVM VMs to migrate other process? As far as I can tell, no. most of the virtualization facililites of KVM are implemented in the kernel,

Re: QEMU- 1CPU for guest while more cores used on host?

2012-07-04 Thread Javier Guerra Giraldez
1: no. what you're asking can't be done. if it was possible, every chipmaker would implement it in silicon to create über-fast single-processors on top of multicore chips. 2: why do you think course amd-v+KVM is impossible to be used ?? it does work very well -- Javier -- To unsubscribe

Re: QEMU- 1CPU for guest while more cores used on host?

2012-07-04 Thread Javier Guerra Giraldez
On Wed, Jul 4, 2012 at 2:44 PM, robert.kuc...@centrum.cz wrote: Thank you very much for your explanation, it makes sense :-) 2: why do you think course amd-v+KVM is impossible to be used ?? it does work very well Not for me, it is some old RedHat version that fails on boot under KVM, but

Re: Credit-based scheduling in KVM?

2012-06-15 Thread Javier Guerra Giraldez
On Fri, Jun 15, 2012 at 6:39 AM, sguazt marco.guazz...@gmail.com wrote: With native I meant that I'd like to have a credit-based scheduling mechanism specifically targeted to VMs, without affecting the other processes of the host machine. just put the VMs on their own cgroup -- Javier -- To

Re: Starting / stopping VMs

2012-06-06 Thread Javier Guerra Giraldez
On Wed, Jun 6, 2012 at 9:57 AM, Michael Johns michaelj8...@gmail.com wrote: a small database from which small amounts of information about running machines which indicated the presence or not of virtual machine instances. pgrep works beautifully, especially when using the -name option --

Re: linux guests and ksm performance

2012-02-23 Thread Javier Guerra Giraldez
On Thu, Feb 23, 2012 at 11:42 AM, Stefan Hajnoczi stefa...@gmail.com wrote: The other approach is a memory page discard mechanism - which obviously requires more code changes than zeroing freed pages. The advantage is that we don't take the brute-force and CPU intensive approach of zeroing

Re: Infiniband / RDMA

2011-08-05 Thread Javier Guerra Giraldez
On Fri, Aug 5, 2011 at 2:14 PM, Lance Couture la...@sfu.ca wrote: We are looking at implementing KVM-based virtual machines in our HPC cluster. Our storage runs over Infiniband using RDMA, but we have been unable to find any real documentation regarding Infiniband, let alone using RDMA.

Re: KVM, iSCSI and High Availability

2011-03-28 Thread Javier Guerra Giraldez
On Mon, Mar 28, 2011 at 3:31 PM, Marcin M. Jessa li...@yazzy.org wrote: How is OCFS2 compared to CLVM? different layers, can't compare. CLVM (aka cLVM) is the cluster version of LVM, the volume manager. the addition of a userspace lock manager lets you do all volume management (create/delete

Re: recommended timer frequency for host and guest

2011-03-01 Thread Javier Guerra Giraldez
On Tue, Mar 1, 2011 at 4:44 PM, Nikola Ciprich extmaill...@linuxbox.cz wrote: I guess that on host, the higher frequency can be better, but for guest, 100HZ should be better because it causes lower overhead for host, right? or NO_HZ? -- Javier -- To unsubscribe from this list: send the line

Re: Disk activity issue...

2011-01-05 Thread Javier Guerra Giraldez
On Tue, Jan 4, 2011 at 11:19 AM, Erich Weiler bitscrub...@gmail.com wrote: Thanks for replying!  I was able to figure it out - it was not the fault of KVM.  One of the guests was running ganglia gmetad which was updating 30,000+ rrd files every 15 seconds (thus generating load via disk I/O),

Re: limit conectivity of a VM

2010-11-20 Thread Javier Guerra Giraldez
On Sat, Nov 20, 2010 at 3:40 AM, Thomas Mueller tho...@chaschperli.ch wrote: maybe one of the virtual network cards is 10mbit? start kvm with -net nic,model=? to get a list. wouldn't matter. different models emulate the hardware registers used to transmit, not the performance. if you had

Re: limit conectivity of a VM

2010-11-19 Thread Javier Guerra Giraldez
On Fri, Nov 19, 2010 at 2:47 PM, hadi golestani hadi.golest...@gmail.com wrote: Hello, I need to limit the port speed of a VM to 10 mbps ( or 5 mbps if it's possible). What's the way of doing so? tc check http://lartc.org/howto/lartc.qdisc.html -- Javier -- To unsubscribe from this list:

Re: Graphical virtualisation management system

2010-06-24 Thread Javier Guerra Giraldez
On Thu, Jun 24, 2010 at 1:32 PM, Freddie Cash fjwc...@gmail.com wrote:  * virt-manager which requires X and seems to be more desktop-oriented; don't know about the others, but virt-manager runs only on the admin station. on the VM hosts you run only libvirtd, which doesn't need X in fact,

Re: Networking - Static NATs

2010-04-26 Thread Javier Guerra Giraldez
On Mon, Apr 26, 2010 at 7:10 AM, Anthony Davis t...@specialistdevelopment.com wrote: the problem I have is that kvm currently has dhcp running and setting up NATs etc... I need to stop this, but still allow my current virtual machines access out, how would be the best way to do this? use

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-10 Thread Javier Guerra Giraldez
On Sat, Apr 10, 2010 at 7:42 AM, Mohammed Gamal m.gamal...@gmail.com wrote: On Sat, Apr 10, 2010 at 2:12 PM, Jamie Lokier ja...@shareable.org wrote: To throw a spanner in, the most widely supported filesystem across operating systems is probably NFS, version 2 :-) Remember that Windows usage

Re: [Qemu-devel] [GSoC 2010] Pass-through filesystem support.

2010-04-09 Thread Javier Guerra Giraldez
On Fri, Apr 9, 2010 at 5:17 PM, Mohammed Gamal m.gamal...@gmail.com wrote: That's all good and well. The question now is which direction would the community prefer to go. Would everyone be just happy with virtio-9p passthrough? Would it support multiple OSs (Windows comes to mind here)? Or

Re: [RFC] Unify KVM kernel-space and user-space code into a single project

2010-03-23 Thread Javier Guerra Giraldez
On Tue, Mar 23, 2010 at 2:21 PM, Joerg Roedel j...@8bytes.org wrote: On Tue, Mar 23, 2010 at 06:39:58PM +0200, Avi Kivity wrote: So, two users can't have a guest named MyGuest each?  What about namespace support?  There's a lot of work in virtualizing all kernel namespaces, you're adding to

Re: how to tweak kernel to get the best out of kvm?

2010-03-10 Thread Javier Guerra Giraldez
On Wed, Mar 10, 2010 at 8:15 AM, Avi Kivity a...@redhat.com wrote: 15 guests should fit comfortably, more with ksm running if the workloads are similar, or if you use ballooning. is there any simple way to get some stats to see how is ksm doing? -- Javier -- To unsubscribe from this list:

Re: vnc mouse trouble; -usbdevice tablet no help

2010-02-08 Thread Javier Guerra
On Mon, Feb 8, 2010 at 1:19 AM, Ross Boylan r...@biostat.ucsf.edu wrote: Previous advice (to me and others) was to use -usbdevice tablet.  I've tried that, and a variety of kvm/qemu versions, but no luck. check your guest's X11 config. if you didn't have -usbdevice tablet when installing, the

Re: CPU change causes hanging of .NET apps

2009-10-28 Thread Javier Guerra
On Wed, Oct 28, 2009 at 4:13 PM, Erik Rull erik.r...@rdsoftware.de wrote: Any Ideas what happens here? I also started applications that were NOT started with the QEMU32 CPU to prevent a caching - same problem. just a couple guesses: - maybe there's some JIT'ed code cached somewhere in the

Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Javier Guerra
On Fri, Oct 23, 2009 at 5:41 AM, MORITA Kazutaka morita.kazut...@lab.ntt.co.jp wrote: On Fri, Oct 23, 2009 at 12:30 AM, Avi Kivity a...@redhat.com wrote: If so, is it reasonable to compare this to a cluster file system setup (like GFS) with images as files on this filesystem?  The difference

Re: [Qemu-devel] Re: [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Javier Guerra
On Fri, Oct 23, 2009 at 9:58 AM, Chris Webb ch...@arachsys.com wrote: If the chunks into which the virtual drives are split are quite small (say the 64MB used by Hadoop), LVM may be a less appropriate choice. It doesn't support very large numbers of very small logical volumes very well.

Re: [Qemu-devel] [ANNOUNCE] Sheepdog: Distributed Storage System for KVM

2009-10-23 Thread Javier Guerra
On Fri, Oct 23, 2009 at 2:39 PM, MORITA Kazutaka morita.kazut...@lab.ntt.co.jp wrote: Thanks for many comments. Sheepdog git trees are created. great! is there any client (no matter how crude) besides the patched KVM/Qemu? it would make it far easier to hack around... -- Javier -- To

Re: [PATCH] virtio-blk: fallback to draining the queue if barrier ops are not supported

2009-10-14 Thread Javier Guerra
On Wed, Oct 14, 2009 at 7:03 AM, Avi Kivity a...@redhat.com wrote: Early implementations of virtio devices did not support barrier operations, but did commit the data to disk.  In such cases, drain the queue to emulate barrier operations. would this help on the (i think common) situation with

Re: sharing host infiniband between VMs

2009-10-09 Thread Javier Guerra
On Fri, Oct 9, 2009 at 4:11 PM, Cameron Macdonell c...@cs.ualberta.ca wrote: I'm trying to set up a number of VMs on a host that uses IP over infiniband to its NFS server.  I've been googling, but can't find any mention of sharing a single IB interface between multiple VMs.  Since its IPoIB, I

Re: INFO: task kjournal:337 blocked for more than 120 seconds

2009-10-01 Thread Javier Guerra
On Thu, Oct 1, 2009 at 4:00 PM, Shirley Ma mashi...@us.ibm.com wrote: I talked to Mingming, she suggested to use different IO scheduler. The default scheduler is cfg, after I switch to noop, the problem is gone. deadline is the most recommended one for virtualization hosts. some distros set it

Re: Binary Windows guest drivers are released

2009-09-24 Thread Javier Guerra
On Thu, Sep 24, 2009 at 3:38 PM, Kenni Lund ke...@kelu.dk wrote: I've done some benchmarking with the drivers on Windows XP SP3 32bit, but it seems like using the VirtIO drivers are slower than the IDE drivers in (almost) all cases. Perhaps I've missed something or does the driver still need

Re: [PATCHv5 3/3] vhost_net: a kernel-level virtio server

2009-09-17 Thread Javier Guerra
On Wed, Sep 16, 2009 at 10:11 PM, Gregory Haskins gregory.hask...@gmail.com wrote:  It is certainly not a requirement to make said chip somehow work with existing drivers/facilities on bare metal, per se.  Why should virtual systems be different? i'd guess it's an issue of support resources. a

Re: kvm scaling question

2009-09-11 Thread Javier Guerra
On Fri, Sep 11, 2009 at 10:36 AM, Bruce Rogers brog...@novell.com wrote: Also, when I did a simple experiment with vcpu overcommitment, I was surprised how quickly performance suffered (just bringing a Linux vm up), since I would have assumed the additional vcpus would have been halted the

Re: Notes on block I/O data integrity

2009-08-25 Thread Javier Guerra
On Tue, Aug 25, 2009 at 1:11 PM, Christoph Hellwigh...@lst.de wrote:  - barrier requests and cache flushes are supported by all local   disk filesystem in popular use (btrfs, ext3, ext4, reiserfs, XFS).   However unlike the other filesystems ext3 does _NOT_ enable barriers   and cache flush

Re: AlacrityVM numbers updated for 31-rc4

2009-08-12 Thread Javier Guerra
On Wed, Aug 12, 2009 at 3:43 PM, Gregory Haskinsgregory.hask...@gmail.com wrote: In any case, I have updated the graphs on the AlacrityVM wiki to reflect these latest numbers: pseudo-3D charts are just wrong (http://www.chuckchakrapani.com/articles/PDF/94070347.pdf) -- Javier -- To

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Javier Guerra
On Tue, Jul 7, 2009 at 6:31 AM, Cristi Magherusancristi.magheru...@net.utcluj.ro wrote: The kernel will be 2.6.24 because it's smaller. I know this mismatch may not be good, but I have to get to a compromise. The kernel needs to be as small as possible (everything should fit in a 4MB BIOS

Re: kvm, drbd, elevator, rotational - quite an interesting co-operation

2009-07-06 Thread Javier Guerra
On Mon, Jul 6, 2009 at 8:28 AM, Michael Tokarevm...@tls.msk.ru wrote: Javier Guerra wrote: it also bothers me because when i have a couple of moderately disk-heavy VMs, the load average numbers skyrockets.  that's because each blocked thread counts as 1 on this figure, even if they're all

Re: [DRBD-user] kvm, drbd, elevator, rotational - quite an interesting co-operation

2009-07-03 Thread Javier Guerra
Lars Ellenberg wrote: On Thu, Jul 02, 2009 at 11:55:05PM +0400, Michael Tokarev wrote: drbd: what's the difference in write pattern on secondary and primary nodes? Why `rotational' flag makes very big difference on secondary and no difference whatsoever on primary? not much. disk

Re: [DRBD-user] kvm, drbd, elevator, rotational - quite an interesting co-operation

2009-07-03 Thread Javier Guerra
On Fri, Jul 3, 2009 at 9:00 AM, Lars Ellenberglars.ellenb...@linbit.com wrote: the elevator of the lower level block device (in this case, the kvm virtual block device, or the host real block device) so, the original post (Michael) was running drbd on the KVM guests?? i thought the only

Re: kvm, drbd, elevator, rotational - quite an interesting co-operation

2009-07-02 Thread Javier Guerra
On Thu, Jul 2, 2009 at 2:55 PM, Michael Tokarevm...@tls.msk.ru wrote: kvm: i/o threads - should there be a way to control the amount of  threads?  With default workload generated by drbd on secondary  node having less thread makes more sense. +1 on this. it seems reasonable to have one

Re: Configuration vs. compat hints

2009-06-15 Thread Javier Guerra
On Mon, Jun 15, 2009 at 6:43 AM, Avi Kivitya...@redhat.com wrote: (I'd be quite happy constructing the entire machine config on the command line, but I realize it's just me) as a user-only (well, i'm a developer, but don't meddle in kernel affairs since 0.99pl9); I also like that kvm is totally

Re: Windows Server 2008 VM performance

2009-06-02 Thread Javier Guerra
On Tue, Jun 2, 2009 at 4:38 PM, Avi Kivity a...@redhat.com wrote: Andrew Theurer wrote: P.S. Here is the qemu cmd line for the windows VMs: /usr/local/bin/qemu-system-x86_64 -name newcastle-xdbt01 -hda /dev/disk/by-id/scsi-3600a0b8f1eb1074f4a02b08a Use: -drive

Re: how to manage KVM guests with libvirt ?

2009-06-01 Thread Javier Guerra
On Mon, Jun 1, 2009 at 9:41 AM, Riccardo Veraldi riccardo.vera...@cnaf.infn.it wrote: Hello, I have always created my guests by hand with qemu-kvm syntax. Is there a way to control and manage KVM guests with libvirt without being forced to create the guest with virtmanager or with virtsh ?

Re: how to manage KVM guests with libvirt ?

2009-06-01 Thread Javier Guerra
On Mon, Jun 1, 2009 at 11:02 AM, Riccardo Veraldi riccardo.vera...@cnaf.infn.it wrote: thank you very much. How do I know all the XML tag options ?? how to convert from comand line quemu options into XML tags ? and here to put XML file ? you'll have to play around a little with a test

Re: qemu sles 11 guest failed to boot up after the guest install

2009-05-20 Thread Javier Guerra
On Wed, May 20, 2009 at 5:42 AM, Pradeep K Surisetty pradeepkum...@in.ibm.com wrote: 3.start guest install qemu-kvm -cdrom SLES-11-DVD-x86_64-GM-DVD1.iso -drive file=sles11.raw,if=scsi,cache=off -m 512 -smp 2 4. After the guest install boot up from the image. qemu-kvm -boot c sles11.raw any

Re: Unicode Error

2009-05-14 Thread Javier Guerra
On Thu, May 14, 2009 at 9:16 AM, Gilberto Nunes gilberto.nu...@selbetti.com.br wrote: Hi all I'm newbie on list. I have deploy a system here, with a Ubuntu Server running KVM. Well, when I run virt-clone command, I get this error: CMD: virt-clone -o vm01 -n VMUbuntu-2 -f /virt/ubuntu-2.img

Re: Paravirtualisation or not?

2009-05-04 Thread Javier Guerra
On Mon, May 4, 2009 at 9:49 AM, howard chen howac...@gmail.com wrote: On Mon, May 4, 2009 at 10:44 PM, Pasi Kärkkäinen pa...@iki.fi wrote: On Mon, May 04, 2009 at 10:40:00PM +0800, howard chen wrote: Yes, paravirtualization is good. If running KVM, use paravirtualized network and disk/block

Re: [Qemu-devel] Re: [PATCH] virtio-blk: add SGI_IO passthru support

2009-04-30 Thread Javier Guerra
On Thu, Apr 30, 2009 at 4:49 PM, Paul Brook p...@codesourcery.com wrote: One of the nice things about scsi is it separates the command set from the transport layer. cf. USB mass-storage, SAS, SBP2(firewire), and probably several others I've forgotten. ATAPI, SCSIoFC, SCSIoIB -- Javier

Re: one question about virualization and kvm

2009-04-01 Thread 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

Re: KVM-74: HELP PLEASE - cannot boot from cdrom for recovery

2009-03-31 Thread Javier Guerra
On Tue, Mar 31, 2009 at 12:01 PM, Gerry Reno gr...@verizon.net wrote: Charles Duffy wrote: I put the xml stanza in the file and undefine/define domain but it gives an error about cannot read image file. source file=/media/Fedora 10 DVD/ And I check this path and I can read all the files from

Re: KVM-74: HELP PLEASE - cannot boot from cdrom for recovery

2009-03-31 Thread Javier Guerra
On Tue, Mar 31, 2009 at 1:53 PM, Gerry Reno gr...@verizon.net wrote: Boot Failure Code:  0003 Boot from CDROM failed:  cannot read the boot disk. FATAL: No bootable device. your underlying problem is that you can't get libvirt to generate the appropriate command line. you really should take

Re: KVM-74: HELP PLEASE - cannot boot from cdrom for recovery

2009-03-31 Thread Javier Guerra
On Tue, Mar 31, 2009 at 2:13 PM, Gerry Reno gr...@verizon.net wrote: Javier Guerra wrote: your underlying problem is that you can't get libvirt to generate the appropriate command line.  you really should take it to the libvirt list Ok, can you give me a command line that will work

Re: KVM-74: HELP PLEASE - cannot boot from cdrom for recovery

2009-03-31 Thread Javier Guerra
On Tue, Mar 31, 2009 at 5:52 PM, Gerry Reno gr...@verizon.net wrote: Ok, I've been working with this for a couple hours but this command line errors on F10 like this: # /usr/bin/qemu-kvm -S -M pc -m 512 -smp 2 -name MX_3 -monitor pty -boot d -drive

Re: Live memory allocation?

2009-03-30 Thread Javier Guerra
On Mon, Mar 30, 2009 at 10:15 AM, Tomasz Chmielewski man...@wpkg.org wrote: Still, if there is free memory on host, why not use it for cache? because it's best used on the guest; which will do anyway. so, not cacheing already-cached data, it's free to cache other more important things, or to

Re: which -cpu to use

2009-02-26 Thread Javier Guerra Giraldez
Piavlo wrote: Alexander Graf wrote: virtio drivers have nothing to do with CPU. Yes I mistakenly used the term viritio drivers instead of paravirtual guest support. So what I wanted to ask is if I build a guest kernel with paravitual support will it make the native hardware cpu features

Re: which -cpu to use

2009-02-26 Thread Javier Guerra
On Thu, Feb 26, 2009 at 7:57 AM, Piavlo pia...@cs.bgu.ac.il wrote:  What is still unclear to me is that's the actual difference between PV drivers implementation in paravirtual linux guest and PV dirvers in HVM linux guest? AFAIK in xen guest the PV front-end drivers are quite simple, and in

Re: making snapshots with raw devices? and some general snapshot thoughts

2009-02-25 Thread Javier Guerra
On Wed, Feb 25, 2009 at 8:20 AM, Tomasz Chmielewski man...@wpkg.org wrote: Is it possible to make snapshots when using raw devices (i.e. disk, partition, LVM volume) as guest's disk image? According to documentation[1] (and some tests I made) it is only possible with qcow2 images. Which makes

Re: making snapshots with raw devices? and some general snapshot thoughts

2009-02-25 Thread Javier Guerra
On Wed, Feb 25, 2009 at 9:31 AM, Tomasz Chmielewski man...@wpkg.org wrote:   The VM state info is stored in the first qcow2 non removable and    writable block device. The disk image snapshots are stored in every    disk image. Or, am I making a mistake here? ah, i misremembered that. --

Re: vga vmware option

2009-01-28 Thread Javier Guerra
On Wed, Jan 28, 2009 at 5:47 PM, Christian Roessner christ...@roessner-net.com wrote: Hello, excuse me for this little question. I found the -vga vmware option. I have tried any tricks I new to get the WinXP driver installed, hi, i tried that too, but then found that somewhere it says

Re: how to assign partition as partition for KVM?

2009-01-15 Thread Javier Guerra
On Thu, Jan 15, 2009 at 3:05 AM, paolo pedaletti paolo.pedale...@gmail.com wrote: Ciao Толя, Is there any way to assign single partition to KVM virtual machine (for example, i need to assign /dev/sda1 on my host as /dev/hda1 on VM) In XEN this assignment looks like disk=[

Re: TAP MTU = 4055 problem?

2008-10-30 Thread Javier Guerra
On Thu, Oct 30, 2008 at 4:41 AM, Matthew Faulkner [EMAIL PROTECTED] wrote: I go no respone. So i started with a lower packet size and figured out below a size of 4054 packets were sent and recevied (without ip fragmentation), however, as soon as the packets were = 4055 it stopped working. Is

Re: Start KVM guest headless

2008-10-10 Thread Javier Guerra
On Fri, Oct 10, 2008 at 10:24 AM, Simon Gao [EMAIL PROTECTED] wrote: I am wondering to how to start a KVM guest OS headless, ie, no monitoring window? And I can attach to the guest's console if I want to. -vnc displaynum -- Javier -- To unsubscribe from this list: send the line unsubscribe

Re: How to use current KVM with non-modular kernel

2008-09-03 Thread Javier Guerra
On Wed, Sep 3, 2008 at 4:27 PM, Thomas Lockney [EMAIL PROTECTED] wrote: On Wed, 2008-09-03 at 12:39 -0500, Charles Duffy wrote: Would it not address your security concerns to build a modular kernel, load the current kvm module, and then drop CAP_SYS_MODULE as part of your boot scripts? Seems

Re: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto connect.

2008-08-18 Thread Javier Guerra
On Mon, Aug 18, 2008 at 1:21 PM, Max Krasnyansky [EMAIL PROTECTED] wrote: Javier Guerra wrote: what about doing it the other way around? that is, setting udev scripts that notify KVM of the hardware changes. That seems a bit odd. What if you have more than one QEMU instance and stuff

Re: [Qemu-devel] Re: [PATCH 2/5] husb: support for USB host device auto connect.

2008-08-15 Thread Javier Guerra
On Fri, Aug 15, 2008 at 1:24 PM, Max Krasnyansky [EMAIL PROTECTED] wrote: btw Interface to HAL might still be useful in general to monitor other device classes that we may want to automatically assign to the VMs. So I'll play around with that too (some day :)). what about doing it the other

Re: KVM backup and snapshots

2008-08-07 Thread Javier Guerra
On Thu, Aug 7, 2008 at 9:23 AM, Dietmar Maurer [EMAIL PROTECTED] wrote: What is the suggested way to backup a running kvm instance which uses several disk images? Currently I simply use a LVM2 snapshot if all disk images resides on one lvm volume. But what if it uses several lvm volumes? i'd

Re: KVM backup and snapshots

2008-08-07 Thread Javier Guerra
On Thu, Aug 7, 2008 at 9:51 AM, Dietmar Maurer [EMAIL PROTECTED] wrote: I thought about using 1 lvm volume, but splitting that into slices somehow, which can then be used as kvm disks - maybe by implementing a very simple filesystem (block mapper). The problem with this approach is that

Re: How to connect USB enclosue to guest

2008-08-01 Thread Javier Guerra
On Fri, Aug 1, 2008 at 10:41 AM, Stephen Liu [EMAIL PROTECTED] wrote: Hi folks, Ubuntu 8.04 server amd64 - host Ubuntu 6.06 server amd64 - guest KVM 1:62+dfsq UBS enclosure Please advise how to mount the USB enclosure to guest. It can be mounted on host. Pointer would be appreciated.

Re: Simple way of putting a VM on a LAN

2008-07-24 Thread Javier Guerra
On Wed, Jul 23, 2008 at 11:15 PM, Bill Davidsen [EMAIL PROTECTED] wrote: Your easy way seems to mean using Debian, other distributions don't have some of the scripts, or they are in different places or do different things. Other thoughts below. yep, on Gentoo and SuSE i didn't find the

Re: comparisons with VMware and Xen

2008-07-07 Thread Javier Guerra
On Mon, Jul 7, 2008 at 3:09 PM, Sukanto Ghosh [EMAIL PROTECTED] wrote: 3. Are there any means to do content-based page sharing between guests as VMware does ? is it VMWare, or NetApp the one doing this? or you mean RAM page sharing? if so, sounds like a big performance tradeoff for a little

Re: [ kvm-Bugs-2009439 ] data corruption with virtio-blk

2008-07-03 Thread Javier Guerra
On Thu, Jul 3, 2008 at 3:03 AM, Mark McLoughlin [EMAIL PROTECTED] wrote: I think the below fixes the data corrupter, but I'm still tracking down another issue where the guest is hanging waiting for I/O to complete with the latest virtio-blk backend. is that a common case? i haven't been able

Re: exporting a single partition?

2008-07-01 Thread Javier Guerra
On Tue, Jul 1, 2008 at 10:38 AM, Andy Smith [EMAIL PROTECTED] wrote: Hi, Is it possible at the moment to export a single partition to a kvm guest as a virtio block device, like you can with Xen? e.g. with LVM on the host, /dev/somevg/somelv - /dev/vda1 ? in Xen this is only possible for PV

Re: Linux with kvm-intel locks up VMplayer guest is started

2008-06-17 Thread Javier Guerra
On Tue, Jun 17, 2008 at 8:44 AM, Martin Michlmayr [EMAIL PROTECTED] wrote: Sorry, Anthony, I just realized I misparsed your response. So you're saying that it's a known issue and that VMware is the problem. Thanks a lot! I'll take it up with VMware. i think what he's saying is that VMWare

Re: New version of my kvmctl script

2008-06-02 Thread Javier Guerra
i got it running under non-root. first, i used to have a group 'kvm', and /dev/net/tun is writable by this group. so, i made the 'temp' directories (/var/run/kvmctl/, and a couple extra) also writable by the same group. then, i added a couple calls to tunctl to pre-create the tap device before