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 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 external storage uni

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 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. It's the most co

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 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 mount/fsck a LVM sna

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 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 this). note tha

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 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, but they're mana

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, 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 > works well (but

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 f

Re: Credit-based scheduling in KVM?

2012-06-15 Thread Javier Guerra Giraldez
On Fri, Jun 15, 2012 at 6:39 AM, sguazt 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 unsubscribe from thi

Re: Credit-based scheduling in KVM?

2012-06-15 Thread Javier Guerra Giraldez
On Fri, Jun 15, 2012 at 4:08 AM, sguazt wrote: > I've found some suggestions here: > > http://forums.meulie.net/viewtopic.php?f=43&t=6436 > http://serverfault.com/questions/324265/equivalent-of-xen-capping-in-kvm > > but none of those are native to KVM. what do you mean 'native to KVM'? kvm is p

Re: Starting / stopping VMs

2012-06-06 Thread Javier Guerra Giraldez
On Wed, Jun 6, 2012 at 9:57 AM, Michael Johns 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 -- Javier -- To unsubscr

Re: linux guests and ksm performance

2012-02-23 Thread Javier Guerra Giraldez
On Thu, Feb 23, 2012 at 11:42 AM, Stefan Hajnoczi 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 pages.  It wou

Re: Infiniband / RDMA

2011-08-05 Thread Javier Guerra Giraldez
On Fri, Aug 5, 2011 at 2:14 PM, Lance Couture 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. usually it's

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 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 volumes, resize t

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 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 "unsubscribe kvm" in th

Re: Disk activity issue...

2011-01-05 Thread Javier Guerra Giraldez
On Tue, Jan 4, 2011 at 11:19 AM, Erich Weiler 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), I didn't spot > th

Re: limit conectivity of a VM

2010-11-20 Thread Javier Guerra Giraldez
On Sat, Nov 20, 2010 at 3:40 AM, Thomas Mueller 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 infinitely fast proce

Re: limit conectivity of a VM

2010-11-19 Thread Javier Guerra Giraldez
On Fri, Nov 19, 2010 at 2:47 PM, hadi golestani 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: send the line "unsub

Re: ESXi, KVM or Xen?

2010-07-02 Thread Javier Guerra Giraldez
On Fri, Jul 2, 2010 at 10:55 PM, Emmanuel Noobadmin wrote: > This is a concern since I plan to put storage on the network and the > most heavy load the client has is basically the email server due to > the volume plus inline antivirus and anti-spam scanning to be done on > those emails. Admittedly

Re: Graphical virtualisation management system

2010-06-24 Thread Javier Guerra Giraldez
On Thu, Jun 24, 2010 at 1:32 PM, Freddie Cash 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, that's what you get w

Re: Networking - Static NATs

2010-04-26 Thread Javier Guerra Giraldez
On Mon, Apr 26, 2010 at 7:10 AM, Anthony Davis 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 bridged networking -- Javie

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 wrote: > On Sat, Apr 10, 2010 at 2:12 PM, Jamie Lokier wrote: >> To throw a spanner in, the most widely supported filesystem across >> operating systems is probably NFS, version 2 :-) > > Remember that Windows usage on a VM is not some rare use case

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 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 would we eventually

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 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 that. > > T

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 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: send the line "un

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 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 installer would set

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 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 filesystem - maybe the ex

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 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 unsubscribe from this list: send

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 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. absolutely. the 'nice

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 wrote: > On Fri, Oct 23, 2009 at 12:30 AM, Avi Kivity 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 would be that >> clustering is implemented

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 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 XFS on a virt

Re: sharing host infiniband between VMs

2009-10-09 Thread Javier Guerra
On Fri, Oct 9, 2009 at 4:11 PM, Cameron Macdonell 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 was > wondering 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 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 as default if you

Re: Binary Windows guest drivers are released

2009-09-24 Thread Javier Guerra
On Thu, Sep 24, 2009 at 3:38 PM, Kenni Lund 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 optimizatio

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 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 hardware developer cre

Re: kvm scaling question

2009-09-11 Thread Javier Guerra
On Fri, Sep 11, 2009 at 10:36 AM, Bruce Rogers 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 > vast majority o

Re: Notes on block I/O data integrity

2009-08-25 Thread Javier Guerra
On Tue, Aug 25, 2009 at 1:11 PM, Christoph Hellwig 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 requests b

Re: AlacrityVM numbers updated for 31-rc4

2009-08-12 Thread Javier Guerra
On Wed, Aug 12, 2009 at 3:43 PM, Gregory Haskins 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 unsubscribe from this list: send t

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Javier Guerra
On Tue, Jul 7, 2009 at 6:31 AM, Cristi Magherusan 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 flash) i know it's a big change;

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 Tokarev 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

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 Ellenberg 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 sensible setup was using dbrb

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.

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 Tokarev 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 thread per device,

Re: Configuration vs. compat hints

2009-06-15 Thread Javier Guerra
On Mon, Jun 15, 2009 at 6:43 AM, Avi Kivity 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 CLI-managed.

Re: Windows Server 2008 VM performance

2009-06-02 Thread Javier Guerra
On Tue, Jun 2, 2009 at 4:38 PM, Avi Kivity 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 /dev/very-long-name,cache=none

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 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 machine before you get the

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 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 ? i'm doing this, after seeing

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 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 reason why you ins

Re: Unicode Error

2009-05-14 Thread Javier Guerra
On Thu, May 14, 2009 at 9:16 AM, Gilberto Nunes 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 > > RESULT: > Traceback

Re: Paravirtualisation or not?

2009-05-05 Thread Javier Guerra
Pantelis Koukousoulas wrote: > On Tue, May 5, 2009 at 11:37 AM, Stefan Hajnoczi wrote: > Sure, closed-source virtio-net drivers exist (in fact there is a newer > version than the one > you linked. I think it is 12/2008 distributed as an iso). The point > (and the advantage > of Xen in this area) i

Re: Paravirtualisation or not?

2009-05-04 Thread Javier Guerra
On Mon, May 4, 2009 at 9:49 AM, howard chen wrote: > On Mon, May 4, 2009 at 10:44 PM, Pasi Kärkkäinen 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 drivers for better perform

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 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 -- To unsubscribe fr

Re: one question about virualization and kvm

2009-04-01 Thread Javier Guerra
On Wed, Apr 1, 2009 at 7:27 AM, Vasiliy Tolstov 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

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 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 file=/var/vm/vm1/qemu/images/MX_3/MX_3.img,if=ide,index

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 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

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 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 it to the libvir

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 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. > > And I check this path and I can read all the files from the command line on > the DVD just fine. > Wha

Re: Live memory allocation?

2009-03-30 Thread Javier Guerra
On Mon, Mar 30, 2009 at 10:15 AM, Tomasz Chmielewski 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 keep more of the

Re: which -cpu to use

2009-02-26 Thread Javier Guerra
On Thu, Feb 26, 2009 at 7:57 AM, Piavlo 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 KVM guest > to us

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

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 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. -- Javier --

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 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 it very in

Re: vga vmware option

2009-01-28 Thread Javier Guerra
On Wed, Jan 28, 2009 at 5:47 PM, Christian Roessner 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 that it's not for this.

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 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=[ 'phy:/dev/lvm_dg-vol1,xvda1,w',]. > >

Re: How to do an automated backup?

2008-11-03 Thread Javier Guerra
On Mon, Nov 3, 2008 at 2:32 PM, Steve Lorimer <[EMAIL PROTECTED]> wrote: > Ok, should be a simple question here: How to backup a KVM host image. this is far from a simple question. it appears periodically on the Xen lists. with few exceptions, the best advice is to use traditional network backu

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

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 -- Javier -- To unsubscribe from this list: send the line "unsubscribe kvm" in

Re: [PATCH 0/6 v3] PCI: Linux kernel SR-IOV support

2008-09-27 Thread Javier Guerra Giraldez
On Saturday 27 September 2008, Zhao, Yu wrote: > Greetings, > > Following patches are intended to support SR-IOV capability in the Linux > kernel. With these patches, people can turn a PCI device with the > capability into multiple ones from software perspective, which can benefit > KVM and achieve

Re: KVM for Sparc?

2008-09-22 Thread Javier Guerra
On Mon, Sep 22, 2008 at 3:18 PM, Hollis Blanchard <[EMAIL PROTECTED]> wrote: > It would be even more interesting to implement host support on the Sparc > processors with hardware virtualization support. Does Sparc processors also have 'virtualization support' as an extra feature? i thought that 'n

Re: Avoiding I/O bottlenecks between VM's

2008-09-19 Thread Javier Guerra
On Fri, Sep 19, 2008 at 1:53 PM, Alberto Treviño <[EMAIL PROTECTED]> wrote: > On Friday 19 September 2008 12:41:46 pm you wrote: >> Are you using filesystem backed storage for the guest images or direct >> block device storage? I assume there's heavy write activity on the >> guests when these hangs

Re: Event channels in KVM?

2008-09-19 Thread Javier Guerra
On Fri, Sep 19, 2008 at 1:31 PM, Anthony Liguori <[EMAIL PROTECTED]> wrote: > Matt Anger wrote: >> >> Does KVM have any interface similar to event-channels like Xen does? >> Basically a way to send notifications between the host and guest. >> > > virtio is the abstraction we use. > > But virtio is

Re: nfs, tap & vlan issues

2008-09-18 Thread Javier Guerra
On Thu, Sep 18, 2008 at 11:47 AM, Fabio Coatti <[EMAIL PROTECTED]> wrote: > The network on guest machine is set up like this: > 1: lo: mtu 16436 qdisc noqueue >link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 >inet 127.0.0.1/8 brd 127.255.255.255 scope host lo > 2: eth0: mtu 1500 qdi

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?

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 hav

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 oth

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 a

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

Re: [et-mgmt-tools] Re: [libvirt] RE: [Qemu-devel] [ANNOUNCE] virt-mem tools version 0.2.8 released

2008-08-07 Thread Javier Guerra
On Thu, Aug 7, 2008 at 8:06 AM, Richard W.M. Jones <[EMAIL PROTECTED]> wrote: > I think the message here is, install libvirt & be happy :-) nice as this tool sounds, i would need far more than this to make me switch from a simple, easily scriptable command-line to a generic, 'lowest common', solut

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 a

Re: How to run KVM on non-X environment

2008-07-29 Thread Javier Guerra Giraldez
On Tuesday 29 July 2008, Stephen Liu wrote: > # kvm -hda ubuntu6.06.img -cdrom /dev/scd0 -m 512 -boot d -vnc :1 > > It was hanging there. it's not a hang. it's running, but all feedback goes to the VNC port. maybe you'd like it to run in the background, so you get the prompt back. just add a

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 inc

Re: Simple way of putting a VM on a LAN

2008-07-09 Thread Javier Guerra
On Wed, Jul 9, 2008 at 11:28 AM, Bill Davidsen <[EMAIL PROTECTED]> wrote: > A bit of the original problem seems to have been clipped before you read it, > or I stated it poorly. i think you're very confused. maybe you got it working the hard way, but it's really simple to do the easy way. first,

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-07 Thread Javier Guerra
On Sat, Jul 5, 2008 at 5:29 AM, Mark McLoughlin <[EMAIL PROTECTED]> wrote: > It's certainly possible the hangs you're seeing were caused by the > IOAPIC interrupt injection bug I just sent out a fix for - you could try > doing an install either running kvm-qemu -no-kvm-irqchip or booting the > gues

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 ab

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

Re: Sharing disks between two kvm guests

2008-06-20 Thread Javier Guerra
On Fri, Jun 20, 2008 at 7:23 AM, carlopmart <[EMAIL PROTECTED]> wrote: > Felix Leimbach wrote: >> >>> This is my first post to this list. I have already installed kvm-70 >>> under rhel5.2. My intention is to share on disk image betwwen two rhel5.2 >>> kvm guests. Is it possible to accomplish this

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 VMWa

Re: qemu-send.c (was Re: Since we're sharing, here's my kvmctl script)

2008-06-11 Thread Javier Guerra Giraldez
On Wednesday 11 June 2008, Chris Webb wrote: > Hi. I have a small 'qemu-send' utility for talking to a running qemu/kvm > process whose monitor console listens on a filesystem socket, which I think > might be a useful building block when extending these kinds of script to do > things like migratati

Re: Since we're sharing, here's my kvmctl script

2008-06-11 Thread Javier Guerra Giraldez
On Wednesday 11 June 2008, Freddie Cash wrote: > The script can be run as a normal user, as it will use sudo where > needed. However, this causes all the VMs to be run as root (this is > developed on Debian where they've added that annoying "feature" of not > being able to create/use tun/tap devic

Re: New version of my kvmctl script

2008-06-03 Thread Javier Guerra
as promised, here's my patch against your first version. -- Javier --- usr/local/sbin/kvmctl 2008-05-31 18:03:14.0 -0500 +++ /usr/local/sbin/kvmctl 2008-06-03 12:05:11.0 -0500 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Script for controlling kvm (kernel-based virtual machine) # (

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

Re: Control script for kvm

2008-06-02 Thread Javier Guerra
On Sat, May 31, 2008 at 2:41 PM, FinnTux N/A <[EMAIL PROTECTED]> wrote: > I think pretty much everyone has made their own so here is mine. looks pretty nice; i'm reworking my setup to adapt to yours. (currently only on dev workstations, but soon will be a couple of servers (replacing VMWare server

Re: Issues booting off virtual SCSI drives in kvm-69

2008-05-30 Thread Javier Guerra
On Fri, May 30, 2008 at 4:10 PM, Freddie Cash <[EMAIL PROTECTED]> wrote: > Am I missing something simple, or can you only boot off virtual IDE > drives? add 'boot=on' to the drive specification: /usr/bin/kvm -name webmail -daemonize -localtime -usb -usbdevice tablet -smp 1 -m 2048 -vnc :05 -pidfi