Re: [Qemu-discuss] Multiple snapshots with one guest user

2017-01-25 Thread Alberto Garcia
On Thu, Jan 19, 2017 at 03:20:33PM +0330, Mahmood Naderan wrote: > May i ask what is the difference between the following commands > > 1) qemu-img create -o backing_file base.img new.img 10G > 2) qemu-img create -f qcow2 -b base.img new.img There's several things here: # "-o backing_file=base.

Re: [Qemu-discuss] WinXP Guest: New hardware found - VGA controller

2017-01-25 Thread Alberto Garcia
On Mon, Jan 23, 2017 at 01:00:26AM +0100, Joe wrote: > I'm trying Qemu (2.8.0) on Slackware GNU Linux 14.2 (64-bit) host. > I've a Windows XP (guest) raw image which was working with Qemu > times ago (I used it on an older Slackware version as host system). The default hardware emulated by QEMU c

Re: [Qemu-discuss] Info about compressed images

2017-01-25 Thread Alberto Garcia
On Fri, Jan 13, 2017 at 06:57:53PM +0100, Gianni Costanzi wrote: > Hi, > I'm new here and I've started using QEMU when I've started playing > with Unetlab/EVE Network simulator. > > I have some questions about compression and images with a compressed > backing file: I think there's some misunders

[Qemu-discuss] Virtually (dis)connect the ethernet cable

2017-01-25 Thread Vincenzo Romano
I'd like to know how to virtually disconnect and connect the ethernet cable on a VM (I am using virtio). When "disconnected", the ethernet adapter should still be visible by the guest, but with the cable being disconnected. I mean, both the command line and the monitor commands. TIA. -- Vincenzo R

Re: [Qemu-discuss] Info about compressed images

2017-01-25 Thread Gianni Costanzi
Thank you very much Alberto, I've really misunderstood how compression worked. BTW it seems good to compress some big base-images. Thank you very much for having explained the concept very well :) Best regards, Gianni Costanzi -

Re: [Qemu-discuss] Multiple snapshots with one guest user

2017-01-25 Thread Gianni Costanzi
On Wed, Jan 25, 2017 at 9:38 AM, Alberto Garcia wrote: > On Thu, Jan 19, 2017 at 03:20:33PM +0330, Mahmood Naderan wrote: > > May i ask what is the difference between the following commands > > > > 1) qemu-img create -o backing_file base.img new.img 10G > Hi Alberto, what's the purpose of specif

[Qemu-discuss] Antw: Virtually (dis)connect the ethernet cable

2017-01-25 Thread Steffen Weißgerber
Hello, you have to call 'set_link off' wher is the identifier of the virtual adapter you got from 'info network'. Regards Steffen >>> Vincenzo Romano schrieb am Mittwoch, 25. >>> Januar 2017 um 10:23: > I'd like to know how to virtually disconnect and connect the ethernet > cable on a VM

Re: [Qemu-discuss] Virtually (dis)connect the ethernet cable

2017-01-25 Thread Vincenzo Romano
Hi Steffen! Thanks for the info. Is there a way to start a VM with the cable disconnected? -- Vincenzo Romano - NotOrAnd.IT Information Technologies -- NON QVIETIS MARIBVS NAVTA PERITVS 2017-01-25 11:55 GMT+01:00 Steffen Weißgerber : > Hello, > > you have to call 'set_link off' wher is the ide

[Qemu-discuss] Antw: Re: Virtually (dis)connect the ethernet cable

2017-01-25 Thread Steffen Weißgerber
>>> Vincenzo Romano schrieb am Mittwoch, 25. Januar 2017 um 12:03: > Hi Steffen! > Thanks for the info. > Is there a way to start a VM with the cable disconnected? Seems to be similar to setting the password for the console. This is (as long as I know) also not possible to configure via start

Re: [Qemu-discuss] Virtually (dis)connect the ethernet cable

2017-01-25 Thread Vincenzo Romano
I don't see any similarity to the console password "issue". While it's wise to avoid a password on a command line (you could read with ps), it's rather weird you cannot unplug a network cable from an "unstarted" VM. Simply, it seems this "feature" (you can find in virtualbox, for example) has not b

Re: [Qemu-discuss] WinXP Guest: New hardware found - VGA controller

2017-01-25 Thread Narcis Garcia
El 25/01/17 a les 09:49, Alberto Garcia ha escrit: > On Mon, Jan 23, 2017 at 01:00:26AM +0100, Joe wrote: > >> I'm trying Qemu (2.8.0) on Slackware GNU Linux 14.2 (64-bit) host. >> I've a Windows XP (guest) raw image which was working with Qemu >> times ago (I used it on an older Slackware version

Re: [Qemu-discuss] Virtually (dis)connect the ethernet cable

2017-01-25 Thread Fam Zheng
On Wed, 01/25 12:38, Vincenzo Romano wrote: > I don't see any similarity to the console password "issue". > While it's wise to avoid a password on a command line (you could read > with ps), it's rather weird you cannot unplug a network cable from an > "unstarted" VM. > Simply, it seems this "featur

Re: [Qemu-discuss] WinXP Guest: New hardware found - VGA controller

2017-01-25 Thread Fam Zheng
On Wed, 01/25 12:43, Narcis Garcia wrote: > El 25/01/17 a les 09:49, Alberto Garcia ha escrit: > > On Mon, Jan 23, 2017 at 01:00:26AM +0100, Joe wrote: > > > >> I'm trying Qemu (2.8.0) on Slackware GNU Linux 14.2 (64-bit) host. > >> I've a Windows XP (guest) raw image which was working with Qemu >

Re: [Qemu-discuss] Virtually (dis)connect the ethernet cable

2017-01-25 Thread Vincenzo Romano
Fam, despite it makes sense, your suggestion looks a lot like a workaround to a missing feature. -- Vincenzo Romano - NotOrAnd.IT Information Technologies -- NON QVIETIS MARIBVS NAVTA PERITVS 2017-01-25 12:49 GMT+01:00 Fam Zheng : > On Wed, 01/25 12:38, Vincenzo Romano wrote: >> I don't see any

Re: [Qemu-discuss] Virtually (dis)connect the ethernet cable

2017-01-25 Thread Vincenzo Romano
I filed a bug: https://bugs.launchpad.net/bugs/1659267 -- Vincenzo Romano - NotOrAnd.IT Information Technologies -- NON QVIETIS MARIBVS NAVTA PERITVS 2017-01-25 12:52 GMT+01:00 Vincenzo Romano : > Fam, > despite it makes sense, your suggestion looks a lot like a workaround > to a missing featur

Re: [Qemu-discuss] Multiple snapshots with one guest user

2017-01-25 Thread Alberto Garcia
On Wed, Jan 25, 2017 at 11:23:01AM +0100, Gianni Costanzi wrote: > what's the purpose of specifying the size when you're creating an > image with a backing file? Is it simply ignored? The (virtual) sizes of the new image and the backing image can be different. If you don't specify anything then t

[Qemu-discuss] Antw: Re: Re: Virtually (dis)connect the ethernet cable

2017-01-25 Thread Steffen Weißgerber
Sure. You're right. I meant it from the end user point of view only. Regards Steffen >>> Vincenzo Romano schrieb am Mittwoch, 25. Januar 2017 um 12:38: > I don't see any similarity to the console password "issue". > While it's wise to avoid a password on a command line (you could read > with p

Re: [Qemu-discuss] WinXP Guest: New hardware found - VGA controller

2017-01-25 Thread Joe
On Wed, Jan 25, 2017 at 9:49 AM, Alberto Garcia wrote: > > If it worked with an earlier version and now you find that the guest > is detecting new hardware, try forcing the emulation of a machine from > an older version of QEMU. > > For example: > > qemu-system-i386 -M pc-i440fx-1.6 -m 2G ... > >

Re: [Qemu-discuss] WinXP Guest: New hardware found - VGA controller

2017-01-25 Thread Alberto Garcia
On Wed, Jan 25, 2017 at 03:43:23PM +0100, Joe wrote: > > If it worked with an earlier version and now you find that the > > guest is detecting new hardware, try forcing the emulation of a > > machine from an older version of QEMU. > > > > For example: > > > > qemu-system-i386 -M pc-i440fx-1.6 -m 2

Re: [Qemu-discuss] Multiple snapshots with one guest user

2017-01-25 Thread Gianni Costanzi
On Wed, Jan 25, 2017 at 1:34 PM, Alberto Garcia wrote: > On Wed, Jan 25, 2017 at 11:23:01AM +0100, Gianni Costanzi wrote: > > > what's the purpose of specifying the size when you're creating an > > image with a backing file? Is it simply ignored? > > The (virtual) sizes of the new image and the b

Re: [Qemu-discuss] Multiple snapshots with one guest user

2017-01-25 Thread Alberto Garcia
On Wed, Jan 25, 2017 at 04:16:22PM +0100, Gianni Costanzi wrote: > > > what's the purpose of specifying the size when you're creating > > > an image with a backing file? Is it simply ignored? > > > > The (virtual) sizes of the new image and the backing image can be > > different. If you don't spec

Re: [Qemu-discuss] Multiple snapshots with one guest user

2017-01-25 Thread Gianni Costanzi
On Wed, Jan 25, 2017 at 5:01 PM, Alberto Garcia wrote: > On Wed, Jan 25, 2017 at 04:16:22PM +0100, Gianni Costanzi wrote: > > > > > what's the purpose of specifying the size when you're creating > > > > an image with a backing file? Is it simply ignored? > > > > > > The (virtual) sizes of the new

Re: [Qemu-discuss] WinXP Guest: New hardware found - VGA controller

2017-01-25 Thread Narcis Garcia
El 25/01/17 a les 12:53, Fam Zheng ha escrit: > On Wed, 01/25 12:43, Narcis Garcia wrote: >> El 25/01/17 a les 09:49, Alberto Garcia ha escrit: >>> On Mon, Jan 23, 2017 at 01:00:26AM +0100, Joe wrote: >>> I'm trying Qemu (2.8.0) on Slackware GNU Linux 14.2 (64-bit) host. I've a Windows XP

[Qemu-discuss] Translation of guest physical address to host virtual/host physical address

2017-01-25 Thread Aleksandar Milenkoski
Dear All, I am working on a project where I need to translate qemu-guest physical addresses to host virtual/physical addresses.  I am using VMI (virtual machine introspection) to introspect into the qemu process (the KVM VM) and to read guest physical addresses stored in virtio ring buffer descr

Re: [Qemu-discuss] WinXP Guest: New hardware found - VGA controller

2017-01-25 Thread Joe
On Wed, Jan 25, 2017 at 3:56 PM, Alberto Garcia wrote: > On Wed, Jan 25, 2017 at 03:43:23PM +0100, Joe wrote: > >> > If it worked with an earlier version and now you find that the >> > guest is detecting new hardware, try forcing the emulation of a >> > machine from an older version of QEMU. >> >