Re: [Qemu-discuss] Migrating Windows XP vm from VirtualBox to Qemu/KVM

2013-11-27 Thread Tony Su
Although the details in the following article are a bit dated, there is good stuff here. https://wiki.ubuntu.com/UbuntuMagazine/HowTo/Switching_From_VMWare_To_VirtualBox:_.vmdk_To_.vdi_Using_Qemu_+_VdiTool Note that There ia link to another article re migrating Windows Guests That once the disk i

Re: [Qemu-discuss] Security implications of putting VMs on different networks?

2014-01-13 Thread Tony Su
The described configuration is totally confusing, especially when the terminology used is inexact (eg vitualization servers? Is that supposed to be virtualized Guest servers or actually physical hosts?) And, the use of "virtualized routers" is a mystery. In some situations it's necessary, but in

Re: [Qemu-discuss] virtio 9p unusable in my setup

2014-01-29 Thread Tony Su
Maybe this might be helpful? http://en.opensuse.org/User:Tsu2/virtfs#Overview The description setting up 9p should be common to all platforms. Libvirt's vm-manager will look slightly different in different distros, but you should be able to figure out those minor details. Tony On Wed, Jan 29, 2

Re: [Qemu-discuss] Video editing in a Qemu-KVM guest

2014-03-21 Thread Tony Su
Based on the I've observed - virtualized graphics is substantially poorer than real mode so it's actually best to implement graphics in the Guest. Do your transcoding in the Guest if you wish, but view the results in real mode (another physical machine or perhaps the Guest). Re: keyboarding conf

Re: [Qemu-discuss] Live migration of VM

2014-05-28 Thread Tony Su
IMO although likely possible, unlikely to ever be implemented unless someone could describe a scenario common enough to warrant the effort. The concepts behind doing a live migration exist and are implemented in a few technologies (stability varies). If the code is closed though, it may limit who

Re: [Qemu-discuss] Any one have successfully make window 7 guest in kvm use more than 2 cpus/cores?

2014-07-23 Thread Tony Su
http://social.technet.microsoft.com/Forums/windows/en-US/970c999c-8ffc-4611-968c-7d0ceffbedd4/max-number-of-cpu-cores-that-windows-7-64-bit-will-recognize?forum=w7itprohardware Depending on your version of Windows 7, your license supports either one or two CPU and any number of cores. Tony On

Re: [Qemu-discuss] Any one have successfully make window 7 guest in kvm use more than 2 cpus/cores?

2014-07-23 Thread Tony Su
gured. The only reason I can conceive of to configure multiple CPUs is to attempt to partition running processes on physical CPUs (not virtual) which I highly doubt would be an objective running any app on Win7 (or similar desktop). On Wed, Jul 23, 2014 at 7:23 PM, Tony Su wrote: >

Re: [Qemu-discuss] Increasing speed of guest OS

2014-07-30 Thread Tony Su
If your main objective is performance, I don't think that there is any question you should be considering LXC to eliminate overhead. The reason why LXC is the ultimate in performance is because the Guests run in a bare metal environment, resources are not virtualized but simply isolated from other

Re: [Qemu-discuss] manipulating raw disk image as non-root user

2014-08-02 Thread Tony Su
Without knowing exactly what your app is, and what are its requirements it's hard to propose something specific. A small FYI - I've been looking at several things recently that in general terms might be considered to solve your problem, but without more detail I'd be shooting in the dark. Possib

Re: [Qemu-discuss] manipulating raw disk image as non-root user

2014-08-03 Thread Tony Su
Apparently there is a Docker plugin for Jenkins. Makes a lot of sense. Although this blog is very thin on detail, I came across this today https://zapier.com/engineering/continuous-integration-jenkins-docker-github/ HTH, Tony On Sat, Aug 2, 2014 at 11:40 PM, Tony Su wrote: > Without know

Re: [Qemu-discuss] Guest network performance is painfully slow

2014-08-17 Thread Tony Su
ohm.com.br > > > On Sun, Aug 17, 2014 at 11:51 PM, Tony Su wrote: >> >> Is there some reason why you appear to be running "full virtualization" >> qemu? >> If you don't need special emulation features of regular QEMU, you >> should instead be r

Re: [Qemu-discuss] Guest network performance is painfully slow

2014-08-19 Thread Tony Su
Cool. If the merge really has completed, that's good to know. Tony On Tue, Aug 19, 2014 at 8:34 AM, Peter Maydell wrote: > On 19 August 2014 16:26, Tony Su wrote: >> According to the qemu-kvm page, >> http://wiki.qemu.org/KVM >> >> The upstream merging is still

Re: [Qemu-discuss] Newbie: Running Solaris8/SPARC binaries / shared objects on x86-Linux Machines

2014-08-31 Thread Tony Su
modern hardware. Tony On Sat, Aug 30, 2014 at 9:44 PM, Dennis Luehring wrote: > Am 30.08.2014 23:18, schrieb Tony Su: > >> Need some clarification, >> Are you really asking how to run Solaris on x86 or the other way >> around? I'm going to assume you have a Solaris ap

Re: [Qemu-discuss] Wrap a disk partition to make a disk

2014-09-15 Thread Tony Su
I think what you're suggesting is commonly done by 1. Create an empty disk image 2. dd the partition into the disk image Tony On Mon, Sep 15, 2014 at 7:30 AM, Dale R. Worley wrote: > I can see situations where I have a disk partition (either a real > partition, /dev/sdx7, or in a file) that I

Re: [Qemu-discuss] Wrap a disk partition to make a disk

2014-09-15 Thread Tony Su
configure access to the raw file system instead of within diskfiles. - Plan9 protocol for sharing specified mount points between file systems (eg a diskfile and a host file system) Tony On Mon, Sep 15, 2014 at 11:39 AM, Dale R. Worley wrote: >> From: Tony Su >> >> I thi

Re: [Qemu-discuss] need help in setting up tap networking for using qemu virtual machine

2014-09-18 Thread Tony Su
Without actually testing your scripts, - Have you checked you don't have a name resolution problem? Try pinging one of Google's IP addresses instead of the name. - Do you have a DG configured? Run the route command to verify. Tony On Thu, Sep 18, 2014 at 6:08 AM, Chan Kim wrote: > > Forgot to

Re: [Qemu-discuss] Virtio-blk and trim

2014-10-01 Thread Tony Su
I don't know that it makes any sense to run a TRIM/discard function in a virtual file system. It only makes sense for the command to be applied directly to the disk at the hardware I/O level. So, if you run the command on your HostOS regularly, it should addres the needs for all GuestOS as well a

Re: [Qemu-discuss] Virtio-blk and trim

2014-10-03 Thread Tony Su
So Brian, just clarifying... You really are talking about LVM as configured in the Guest and not LVM configured in the Host (and may or may not be exposed to the Guest as raw, bare metal storage)? If any commands which are executed on a virtual fs actually are passed to the physical fs, that's s

Re: [Qemu-discuss] QEMU virtual machine within virtual machine

2014-12-22 Thread Tony Su
Running paravirtualization within paravirtualization (or full virtualization) performs very poorly. If you want to do something like this, I'd highly recommend Linux Containers, the current best implementation is probably Docker. Docker (and other Linux Container implementations) merely Guests,

Re: [Qemu-discuss] QEMU virtual machine within virtual machine

2014-12-24 Thread Tony Su
standing > something basic here? > > > Thanks, > Rachel > > -Original Message- > From: Tony Su [mailto:ton...@su-networking.com] > Sent: Monday, December 22, 2014 9:08 PM > To: Rachel Attias (raattias) > Cc: qemu-discuss@nongnu.org > Subject: Re: [Qemu

Re: [Qemu-discuss] qcow2 - can you take a snapshot of an cow (overlay) image?

2015-01-26 Thread Tony Su
Are you asking about internal vs external snapshots? http://kashyapc.com/2011/10/04/snapshotting-with-libvirt-for-qcow2-images/ Tony On Sun, Jan 25, 2015 at 10:01 PM, wrote: > I am trying to understand the difference between copy-on-write image > (overlay images) and snapshots in qemu. And to

Re: [Qemu-discuss] Virtual desktops network and port numbers

2015-05-29 Thread Tony Su
The way I understand it, The port number is only critical for display mapping which would be particularly important if all Guests are deployed on the same machine, the machines are sharing the Host's IP address and you are logged into the Host wanting to view any/all Guests. But, this all become

Re: [Qemu-discuss] Guest fails to reconnect after host network goes down

2015-08-24 Thread Tony Su
Consider whether you're talking about layer 2 or layer 3 network connectivity (test). If this is a Workgroup, consider whether you have a Browse Master issue. Consider whether your issue is a name resolution issue. I assume the connection is bridged? Try NAT if it doesn't make a diff to you. Tony

Re: [Qemu-discuss] Windows VM using KVM and Qemu - Reset Administrator Password?

2013-03-31 Thread Tony Su
Although I haven't tried, I can't imagine why the methods I've used before wouldn't work. You'll probably have to describe how you've attempted to set up. Typically to me it would likely mean simply deploying the Windows disk file as a second disk to a running Linux VM, which would be either a reg

Re: [Qemu-discuss] How to load a host file in the client while not yet installed ?

2013-04-05 Thread Tony Su
Am curious about this method which I have never used... Following your recommended steps, Q about these steps... 3, 4. Assuming that the first machine is the machine without the desired Hosts file and the second machine is the one with the desired Hosts file, is this really any different than simp

Re: [Qemu-discuss] How to load a host file in the client while not yet installed ?

2013-04-07 Thread Tony Su
Possible solutions 1. Post-install script. This is common if you are a large Enterprise admin, your task is to push installations to multiple targets using a common install source but of course each target must have certain unique configs like machine name, mac address, pre-configured user access,

Re: [Qemu-discuss] FW: How to setup qemu as a server with different subdomain on a host server?

2013-04-09 Thread Tony Su
Your requirement to connect to any available network interface is why I've implemented User Mode Networking instead of binding to a pre-configured br device(I haven't found a way to satisfy the requirement using a pre-configured br). Main caveat which I've submitted through my disto's bugzilla whi

Re: [Qemu-discuss] FW: How to setup qemu as a server with different subdomain on a host server?

2013-04-10 Thread Tony Su
Interesting, if you say adding both wlan0 and eth0 to br0 should work, when I set that up networking didn't work as expected. I guess I'll try again... Tony

Re: [Qemu-discuss] [Qemu-devel] About network bridge.

2013-04-23 Thread Tony Su
Wondering why running qemu-system specifying x64 instead of just qemu-kvm, assuming you're running on an x64 CPU. As mentioned you may need to set the -net attribute specifying type of networking with additional networking configuration. Tony

Re: [Qemu-discuss] data consistency on LVM snapshots using writeback caching

2013-07-15 Thread Tony Su
May or may not be related to your situation, if you create VMs on other machines than what you are using to run them, you may run into block and partition alignment issues. The major culprit is if Windows is involved in any way during creating or running as a Host (AFAIK there is no issue Windows r

Re: [Qemu-discuss] Standard benchmarks for VMs

2013-07-30 Thread Tony Su
I guess it really depends on what you're trying measure/benchmark. Benchmarking is like accounting... I've seen benchmarks that "prove" all sorts of things, not always relevant to the real world and certainly questionable relevance to various setups. So, the benchmark you reference looks like an

[Qemu-discuss] Fwd: Re: Starting without '-kernel'; isolating VMs

2013-08-13 Thread Tony Su
ed a QEMU VM using an ISO except as part of KVM or XEN. All my "pure QEMU" VMs have been built using bootstrap or full fs. Tony -- Forwarded message -- From: "Nikita Karetnikov" Date: Aug 12, 2013 7:48 PM Subject: Re: [Qemu-discuss] Starting without '-

Re: [Qemu-discuss] use DMA engines in the virtual machine

2013-08-17 Thread Tony Su
Although I wouldn't know anything about this personally and even more so because you're running on somewhat unusual hardware. A Google search "qemu dma" returns several useful results, of which I think the following might help in your situation http://stackoverflow.com/questions/14076153/kvm-dma-w

Re: [Qemu-discuss] Can QEMU be used on Mac OS X to emulate a one-core CPU?

2013-08-17 Thread Tony Su
I don't run on a Mac, but a Google search verifies you can't set processor affinity. But, it does look like you can do the next best thing which is to re-nice. So, you won't be able to set a hard restriction on CPU resources but you can adjust related priority even to the extreme which can ens

Re: [Qemu-discuss] Can QEMU be used on Mac OS X to emulate a one-core CPU?

2013-08-17 Thread Tony Su
Maybe multiboot another OS? Every other OS I know of supports processor affinity, this was something Apple apparently went out of their way to remove. Tony On Aug 17, 2013 4:59 PM, "Wine Bug" wrote: > I want for example to run Soul Reaver without cracking sound (this bug > appears on multi-core

Re: [Qemu-discuss] Can QEMU be used on Mac OS X to emulate a one-core CPU?

2013-08-19 Thread Tony Su
I don't know enough about QEMU emulation to answer your Q but I can speculate based on general principles The problem you describe may be not directly related to running multi-core, there may be only a symptomatic relationship. Unless you really know what the technical issue is, you're guessing a

Re: [Qemu-discuss] qemu guests using 802.1q vlans bridged on host

2013-08-22 Thread Tony Su
Have you - Tested without VLAN tags? - Verified IP Forwarding is enabled, I usually see this implemented in /etc/sysctl.conf and not written directly to the /proc files - Disabled all the transparent bridge filters, typicallly at /proc/sys/net/bridge/* again, although you can write directly to thes

Re: [Qemu-discuss] qemu guests using 802.1q vlans bridged on host

2013-08-22 Thread Tony Su
configuring hundreds of > bridges and interfaces. > > > On Thu, 22 Aug 2013 09:32:42 -0700 > Tony Su wrote: > >> Have you >> - Tested without VLAN tags? > > Yes, works perfectly. > >> - Verified IP Forwarding is enabled, I usually see this implemented in

Re: [Qemu-discuss] qemu guests using 802.1q vlans bridged on host

2013-08-22 Thread Tony Su
aces. The trivial thing about it is all > these different vlans come in through one trunk. So if vlan-tagged bridging > worked I would have only one bridge interface with 50 guests connected ... > > -- > Regards, > Stephan > > > > On Thu, 22 Aug 2013 10:29:59 -0700 >

Re: [Qemu-discuss] Connect Qemu with physical USB hub for non-compliant device

2013-09-08 Thread Tony Su
What is this "hub" you're referring to, is it just this thing you're describing which sounds like a special cable and adapter? By definition, ordinarily a "hub" is a device intended to be transparent which can support more of the same connection type, eg enable 3 USB devices to connect to a single

Re: [Qemu-discuss] Add PCI Passthrough for multiple devices on same bus?

2013-09-08 Thread Tony Su
Since you're using virsh commands, have you also considered just running vm manager if you're running a graphical environment? It's pretty straightforward when you use vm manager if there isn't a conflict of some sort... Also, just wondering if you really need to access the hardware directly, it's

Re: [Qemu-discuss] Add PCI Passthrough for multiple devices on same bus?

2013-09-11 Thread Tony Su
gt; > I am not familiar with the "virtual storage" method that you mention. Can > this be used with non-storage devices, such as a serial card? Do you have > any documentation on this feature? > > Thanks, > > Andrew > > - Original Message - >> From:

Re: [Qemu-discuss] qemu guests using 802.1q vlans bridged on host

2013-09-12 Thread Tony Su
onfigured vlan100 as well and I can send traffic between the two > just fine. > > -vlad > > >> >> -- >> Regards >> Stephan >> >> >> On Thu, 22 Aug 2013 10:58:08 -0700 >> Tony Su wrote: >> >>> I haven't investigated what

Re: [Qemu-discuss] Host-Bridge in routed TAP Mode

2013-09-26 Thread Tony Su
If your objective is to create a libvirt-managed bridge device, have you considered using vm manager? I use a different distro, but assume that ubuntu distributes all the major libvirt packages which should include not only the libvirt library but the graphical apps as well. On my distro (openSUSE

[Qemu-discuss] Fwd: Re: qemu-img resize corrupted image?

2013-10-21 Thread Tony Su
-- Forwarded message -- From: "Tony Su" Date: Oct 21, 2013 8:27 AM Subject: Re: [Qemu-discuss] qemu-img resize corrupted image? To: "Ray Morris" Cc: Although I haven't tried to repair a qcow image specifically, In general the first step in any recovery