Re: [Qemu-devel] question about qemu-monitor-event result redirecting to a file

2019-02-26 Thread Eric Blake
On 2/26/19 5:51 AM, Zhan Adlun wrote: > Dear Sir: > Sorry to bother you. I use dirty bitmap to do backup in KVM. I could > get output from the terminal when I use the command ' virsh > qemu-monitor-event DOMAIN --timestamp --loop', but when using ' virsh > qemu-monitor-event DOMAIN --times

Re: [Qemu-devel] question about qemu-monitor-event result redirecting to a file

2019-02-26 Thread John Snow
On 2/26/19 6:51 AM, Zhan Adlun wrote: > Dear Sir: > Sorry to bother you. I use dirty bitmap to do backup in KVM. I could > get output from the terminal when I use the command ' virsh > qemu-monitor-event DOMAIN --timestamp --loop', but when using ' virsh > qemu-monitor-event DOMAIN --ti

[Qemu-devel] question about qemu-monitor-event result redirecting to a file

2019-02-26 Thread Zhan Adlun
Dear Sir: Sorry to bother you. I use dirty bitmap to do backup in KVM. I could get output from the terminal when I use the command ' virsh qemu-monitor-event DOMAIN --timestamp --loop', but when using ' virsh qemu-monitor-event DOMAIN --timestamp --loop > /file ' to redirect the output to

Re: [Qemu-devel] Question about QEMU

2018-05-16 Thread 유원상
Thank you for your reply. I understand your suggestion. But, our embedded OS is very light, so it does not still support to change screen resolution. It has fixed resolution(1920x1080). So, I want a MultiSampling(anti-aliasing) in QEMU & virglrenderer. I know the embedded OS supports changing res

Re: [Qemu-devel] Question about QEMU

2018-05-14 Thread Gerd Hoffmann
Hi, > > I have a problem about screen resolution. > > Recommended resolution of my guest OS is 1920x1080. > > If a QEMU window size is 1920x1080, it is clear. > > But, if I change smaller of a QEMU window size, it does not display > > clearly.(ex: 1280x720) > > In this case, QEMU windows size in

Re: [Qemu-devel] Question about QEMU

2018-05-14 Thread Stefan Hajnoczi
On Tue, May 15, 2018 at 2:35 AM, 유원상 wrote: > Thank you for your cooperation. > > I need graphics maintainer's help. > I think, multisampling support of QEMU UI is important for embedded virtual > machine. > > I registered to qemu-devel. > I hope to share a lot of information. > > How can I commen

Re: [Qemu-devel] Question about QEMU

2018-05-14 Thread Stefan Hajnoczi
On Thu, May 10, 2018 at 05:55:38PM +0900, 유원상 wrote: > Hi, > This is Wonsang Ryu. > I'm developer working in South Korea. Welcome! > Do you have forum or community for any developer? > I want share my issues with other developers. > I have some question about QEMU. That's what the qemu-devel@non

[Qemu-devel] Question about QEMU

2018-05-10 Thread 유원상
Hi, This is Wonsang Ryu. I'm developer working in South Korea. Do you have forum or community for any developer? I want share my issues with other developers. I have some question about QEMU. I am porting an embedded OS for emulator to QEMU. My environment is Host OS : Ubuntu 14.04 64bit Guest OS

Re: [Qemu-devel] question about qemu IO process

2016-12-15 Thread Stefan Hajnoczi
On Thu, Dec 15, 2016 at 02:50:41PM +0800, ous...@sina.com wrote: > I recently try to figure out the the whole IO process in qemu, I have traced > most parts of this process, but I'm still confused about how guest OS notify > qemu to handle virtqueue > I traced to virtio_queue_host_notifier_read -

[Qemu-devel] question about qemu IO process

2016-12-15 Thread ousuju
Hello, I'm a newbie of Qemu. sorry about my stupid question. I recently try to figure out the the whole IO process in qemu, I have traced most parts of this process, but I'm still confused about how guest OS notify qemu to handle virtqueue I traced to virtio_queue_host_notifier_read -> event_not

[Qemu-devel] Question about Qemu gnemul

2014-06-03 Thread Chaos Shu
Hi all Anybody got some infos about gnemul? I've googled the internet, just some pages about old and out of date versions about gnemul, and they are built for ARM32, and I need gnemul for AARCH64, does anybody know how to build it? Thanks Chaos

Re: [Qemu-devel] question about qemu disk cache mode

2013-09-04 Thread xuanmao_001
so, the guest disk write cache just only for none and writeback cache mode? the cache allocate on host for disk file image by qemu? xuanmao_001 From: Kevin Wolf Date: 2013-09-04 17:45 To: xuanmao_001 CC: qemu-devel; qemu-discuss Subject: Re: Re: question about qemu disk cache mode Am 04.09.201

Re: [Qemu-devel] question about qemu disk cache mode

2013-09-04 Thread Kevin Wolf
Am 04.09.2013 um 11:07 hat xuanmao_001 geschrieben: > I understand the physical disk cache and host page cache. > > I want to the difference between guest disk write cache and host page cache > that described with "Caching modes in Qemu" in > > https://events.linuxfoundation.org/slides/2011/linu

Re: [Qemu-devel] question about qemu disk cache mode

2013-09-04 Thread Stefan Hajnoczi
On Wed, Sep 04, 2013 at 11:47:04AM +0800, xuanmao_001 wrote: > my qemu-kvm version is 1.0.1 > I would like to figure out the qemu disk cache mode. I have visited the > qemu-options.hx > there is two cache that I didn't understand: the host cache page and the qemu > disk write cache. > > Is "host

Re: [Qemu-devel] question about qemu disk cache mode

2013-09-04 Thread xuanmao_001
I understand the physical disk cache and host page cache. I want to the difference between guest disk write cache and host page cache that described with "Caching modes in Qemu" in https://events.linuxfoundation.org/slides/2011/linuxcon-japan/lcj2011_hajnoczi.pdf give me some more information p

Re: [Qemu-devel] question about qemu disk cache mode

2013-09-04 Thread Kevin Wolf
Am 04.09.2013 um 05:47 hat xuanmao_001 geschrieben: > Dear qemuers: > > my qemu-kvm version is 1.0.1 > I would like to figure out the qemu disk cache mode. I have visited the > qemu-options.hx > there is two cache that I didn't understand: the host cache page and the qemu > disk write cache. >

[Qemu-devel] question about qemu disk cache mode

2013-09-03 Thread xuanmao_001
Dear qemuers: my qemu-kvm version is 1.0.1 I would like to figure out the qemu disk cache mode. I have visited the qemu-options.hx there is two cache that I didn't understand: the host cache page and the qemu disk write cache. Is "host page cache" only used for read. and "qemu disk write cache"

[Qemu-devel] Question about qemu networking

2013-07-14 Thread Alexey Kardashevskiy
Hi! I have 2 command lines which I believe should work the same way but they do not. I run qemu and do "dhclient ; ifconfig" in the guest. Run #1 assigns 10.0.2.15 and 10.0.2.16 (this is what I expected); runs #2/#3 assign 10.0.2.15 to both emulated interfaces in the guest. Is there any up-to-dat

Re: [Qemu-devel] question about qemu migrate.

2012-07-23 Thread Sheldon
On 07/23/2012 06:26 AM, Amos Kong wrote: On Sun, Jul 22, 2012 at 10:59 PM, Sheldon wrote: (qemu) migrate -d exec:cat>/tmp/vm.out -incoming fd: Load the suspend vm.out by # qemu-kvm incoming fd/tmp/vm.out2 Is it satisfied for you? Thank for your patience. Load the suspend vm.out

Re: [Qemu-devel] question about qemu migrate.

2012-07-22 Thread Amos Kong
On Sun, Jul 22, 2012 at 10:59 PM, Sheldon wrote: > > > (qemu) migrate -d exec:cat>/tmp/vm.out > -incoming fd: > thank you. it can work now. > there are still some questions. > 1. the migration file vm.out is a QEMU suspend to disk image. > How can I reboot vm.out by QEMU? Load the suspend v

Re: [Qemu-devel] question about qemu migrate.

2012-07-22 Thread Sheldon
On 07/22/2012 12:49 PM, Amos Kong wrote: On Sun, Jul 22, 2012 at 12:30 PM, Sheldon > wrote: I find there are four kinds of uri for qmp_migrate "tcp:", "exec:", "unix:", and "fd:" now I want to migrate the vm to a local file with "exec:" uri by

Re: [Qemu-devel] question about qemu migrate.

2012-07-21 Thread Amos Kong
On Sun, Jul 22, 2012 at 12:30 PM, Sheldon wrote: > I find there are four kinds of uri for qmp_migrate > "tcp:", "exec:", "unix:", and "fd:" > > > now I want to migrate the vm to a local file with "exec:" uri by > hmp-command. > > How should I do the migration? > (qemu) migrate -d exec:cat>/tmp/vm

[Qemu-devel] question about qemu migrate.

2012-07-21 Thread Sheldon
I find there are four kinds of uri for qmp_migrate "tcp:", "exec:", "unix:", and "fd:" now I want to migrate the vm to a local file with "exec:" uri by hmp-command. How should I do the migration?

[Qemu-devel] question about qemu-generated vmcore

2012-02-29 Thread Wen Congyang
Hi all. As you know, I am implementing a new, dedicated memory dump mechanism. crash cannot get phys_base, because the guest may be in the kdump kernel. As Dave and hatayama suggested, I want to put extra CPU's information in PT_NOTE. For example: $ readelf -n vmcore Notes at offset 0x01c8

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-21 Thread Alexander Graf
On 21.07.2010, at 00:22, Blue Swirl wrote: > On Sat, Jul 17, 2010 at 9:50 AM, Richard W.M. Jones wrote: >> I'm trying to speed up the process of loading kernel and initrd. >> >> I found that the main loop which loads these into qemu memory does it >> via executing in the guest: >> >> rep insb

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-20 Thread Blue Swirl
On Sat, Jul 17, 2010 at 9:50 AM, Richard W.M. Jones wrote: > I'm trying to speed up the process of loading kernel and initrd. > > I found that the main loop which loads these into qemu memory does it > via executing in the guest: > >  rep insb (%dx),%es:(%edi) > > In other words, reading it byte-a

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-20 Thread Richard W.M. Jones
On Tue, Jul 20, 2010 at 04:40:28PM +0300, Gleb Natapov wrote: > Which remind me that ad-hoc DMA interface should be discoverable by a > guest. Judging by 'git annotate' this interface has already been extended 4 times without requiring this to be discoverable. However I will add an extra config b

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-20 Thread Gleb Natapov
On Tue, Jul 20, 2010 at 02:15:16PM +0100, Jamie Lokier wrote: > Gleb Natapov wrote: > > On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alexander Graf wrote: > > > > > > On 19.07.2010, at 09:33, Gleb Natapov wrote: > > > > > > > On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: > > >

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-20 Thread Jamie Lokier
Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alexander Graf wrote: > > > > On 19.07.2010, at 09:33, Gleb Natapov wrote: > > > > > On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: > > >> On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: > > >>> Tha

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Anthony Liguori
On 07/19/2010 11:11 AM, Gleb Natapov wrote: On Mon, Jul 19, 2010 at 10:54:03AM -0500, Anthony Liguori wrote: On 07/19/2010 09:53 AM, Gleb Natapov wrote: On Mon, Jul 19, 2010 at 09:45:58AM -0500, Anthony Liguori wrote: On 07/19/2010 02:33 AM, Gleb Natapov wrote: On

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 05:47:40PM +0100, Richard W.M. Jones wrote: > On Mon, Jul 19, 2010 at 07:11:37PM +0300, Gleb Natapov wrote: > > And there are such that cause cpu to stall for 6.5 seconds when you do > > io to them? I never said that we should implement ISA or PCI device, I > > don't know wh

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 07:11:37PM +0300, Gleb Natapov wrote: > And there are such that cause cpu to stall for 6.5 seconds when you do > io to them? I never said that we should implement ISA or PCI device, I > don't know why you bring them here. Where is "6.5 seconds" coming from? That is the *to

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 10:54:03AM -0500, Anthony Liguori wrote: > On 07/19/2010 09:53 AM, Gleb Natapov wrote: > >On Mon, Jul 19, 2010 at 09:45:58AM -0500, Anthony Liguori wrote: > >>On 07/19/2010 02:33 AM, Gleb Natapov wrote: > >>>On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote:

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Anthony Liguori
On 07/19/2010 09:53 AM, Gleb Natapov wrote: On Mon, Jul 19, 2010 at 09:45:58AM -0500, Anthony Liguori wrote: On 07/19/2010 02:33 AM, Gleb Natapov wrote: On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 09:52:23AM -0500, Anthony Liguori wrote: > On 07/19/2010 04:15 AM, Gleb Natapov wrote: > >On Mon, Jul 19, 2010 at 11:09:13AM +0200, Alexander Graf wrote: > >>On 19.07.2010, at 11:06, Gleb Natapov wrote: > >> > >>>On Mon, Jul 19, 2010 at 10:00:04AM +0100, Richard W.M. Jones w

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 09:45:58AM -0500, Anthony Liguori wrote: > On 07/19/2010 02:33 AM, Gleb Natapov wrote: > >On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: > >>On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: > >>>That what I am warring about too. If we are ad

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Anthony Liguori
On 07/19/2010 04:15 AM, Gleb Natapov wrote: On Mon, Jul 19, 2010 at 11:09:13AM +0200, Alexander Graf wrote: On 19.07.2010, at 11:06, Gleb Natapov wrote: On Mon, Jul 19, 2010 at 10:00:04AM +0100, Richard W.M. Jones wrote: virt-install is another program that uses explicit -in

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Anthony Liguori
On 07/19/2010 02:33 AM, Gleb Natapov wrote: On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: That what I am warring about too. If we are adding device we have to be sure such device can actually exist on

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 02:06:27PM +0100, Richard W.M. Jones wrote: > On Mon, Jul 19, 2010 at 12:15:43PM +0300, Gleb Natapov wrote: > > That what we are talking about, no? We are trying to find faster way to > > load kernel/initrd and stay architectural. Honestly I would expect much > > greater spe

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 12:15:43PM +0300, Gleb Natapov wrote: > That what we are talking about, no? We are trying to find faster way to > load kernel/initrd and stay architectural. Honestly I would expect much > greater speedup from Richard's approach like 2 seconds vs 8 seconds. It > is hard to ju

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 11:21:34AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 11:19, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 11:13:38AM +0200, Alexander Graf wrote: > >> > >> On 19.07.2010, at 11:10, Gleb Natapov wrote: > >> > >>> On Mon, Jul 19, 2010 at 11:02:54AM +0200, Alex

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 11:19, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 11:13:38AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 11:10, Gleb Natapov wrote: >> >>> On Mon, Jul 19, 2010 at 11:02:54AM +0200, Alexander Graf wrote: On 19.07.2010, at 11:00, Gleb Natapov wrote:

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 12:19:22PM +0300, Gleb Natapov wrote: > Vcpu executes "in %ax". Next instruction is executed 6 seconds later. > All timers that should have been processed during this time fire at the > same moment triggering all kind of timeouts. Think about watchdog that > should be writte

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 11:15, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 11:09:13AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 11:06, Gleb Natapov wrote: >> >>> On Mon, Jul 19, 2010 at 10:00:04AM +0100, Richard W.M. Jones wrote: virt-install is another program that uses expli

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 11:13:38AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 11:10, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 11:02:54AM +0200, Alexander Graf wrote: > >> > >> On 19.07.2010, at 11:00, Gleb Natapov wrote: > >> > >>> On Mon, Jul 19, 2010 at 10:54:43AM +0200, Alex

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alexander Graf wrote: > Richard, what does kvm_stat tell you while loading the initrd? Are > there a lot of PIO requests or are we simply looping inside qemu > code? The two attached files were made by running kvm_stat -l > /tmp/... during a single run sta

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 11:10, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 11:02:54AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 11:00, Gleb Natapov wrote: >> >>> On Mon, Jul 19, 2010 at 10:54:43AM +0200, Alexander Graf wrote: On 19.07.2010, at 10:48, Gleb Natapov wrote:

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 11:09:13AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 11:06, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 10:00:04AM +0100, Richard W.M. Jones wrote: > >> > >> virt-install is another program that uses explicit -initrd. > >> > > Installation takes a lot of t

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 11:02:54AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 11:00, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 10:54:43AM +0200, Alexander Graf wrote: > >> > >> On 19.07.2010, at 10:48, Gleb Natapov wrote: > >> > >>> > Were there DMA capable devices back in

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 11:06, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 10:00:04AM +0100, Richard W.M. Jones wrote: >> >> virt-install is another program that uses explicit -initrd. >> > Installation takes a lot of time. Saving 1 second there will not be > noticeable. And during lifetime of inst

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 10:00:04AM +0100, Richard W.M. Jones wrote: > On Mon, Jul 19, 2010 at 11:40:41AM +0300, Gleb Natapov wrote: > > On Mon, Jul 19, 2010 at 09:34:11AM +0100, Richard W.M. Jones wrote: > > > On Mon, Jul 19, 2010 at 10:55:33AM +0300, Gleb Natapov wrote: > > > > Why not put then on

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 10:00:04AM +0100, Richard W.M. Jones wrote: [...] OK, it's early in the morning and I can't do maths. But we're still asking a big increase in complexity versus optimizing something which is just slow in qemu at the moment. Rich. -- Richard Jones, Virtualization Group,

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 11:00, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 10:54:43AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 10:48, Gleb Natapov wrote: >> >>> Were there DMA capable devices back in ISA times? There must be. If so, we can just take a look at what they do an

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 10:54:43AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 10:48, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 10:41:48AM +0200, Alexander Graf wrote: > >> > >> On 19.07.2010, at 10:30, Gleb Natapov wrote: > >> > >>> On Mon, Jul 19, 2010 at 10:24:46AM +0200, Alex

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 11:40:41AM +0300, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 09:34:11AM +0100, Richard W.M. Jones wrote: > > On Mon, Jul 19, 2010 at 10:55:33AM +0300, Gleb Natapov wrote: > > > Why not put then on cdrom or disk? > > > > It simplifies device and mountpoint enumeration not

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 10:48, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 10:41:48AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 10:30, Gleb Natapov wrote: >> >>> On Mon, Jul 19, 2010 at 10:24:46AM +0200, Alexander Graf wrote: On 19.07.2010, at 10:19, Gleb Natapov wrote:

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 10:41:48AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 10:30, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 10:24:46AM +0200, Alexander Graf wrote: > >> > >> On 19.07.2010, at 10:19, Gleb Natapov wrote: > >> > >> Yes and no. It sounds nice at first, but doesn'

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 10:30, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 10:24:46AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 10:19, Gleb Natapov wrote: >> >> Yes and no. It sounds nice at first, but doesn't quite fit. There are two >> issues: >> >> 1) We need a new PCI ID > We have

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 09:34:11AM +0100, Richard W.M. Jones wrote: > On Mon, Jul 19, 2010 at 10:55:33AM +0300, Gleb Natapov wrote: > > Why not put then on cdrom or disk? > > It simplifies device and mountpoint enumeration not to have a separate > disk. It would also mean we couldn't use standard

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 10:55:33AM +0300, Gleb Natapov wrote: > Why not put then on cdrom or disk? It simplifies device and mountpoint enumeration not to have a separate disk. It would also mean we couldn't use standard Fedora paths, or we'd have to have bind-mount /bin etc on to the disk mount p

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 10:24:46AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 10:19, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 10:08:57AM +0200, Alexander Graf wrote: > >> > >> On 19.07.2010, at 10:01, Gleb Natapov wrote: > >> > >>> On Mon, Jul 19, 2010 at 09:57:02AM +0200, Alex

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 10:19, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 10:08:57AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 10:01, Gleb Natapov wrote: >> >>> On Mon, Jul 19, 2010 at 09:57:02AM +0200, Alexander Graf wrote: On 19.07.2010, at 09:51, Gleb Natapov wrote:

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 10:08:57AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 10:01, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 09:57:02AM +0200, Alexander Graf wrote: > >> > >> On 19.07.2010, at 09:51, Gleb Natapov wrote: > >> > >>> On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alex

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 10:01, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 09:57:02AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 09:51, Gleb Natapov wrote: >> >>> On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alexander Graf wrote: On 19.07.2010, at 09:33, Gleb Natapov wrote:

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 09:57:02AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 09:51, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alexander Graf wrote: > >> > >> On 19.07.2010, at 09:33, Gleb Natapov wrote: > >> > >>> On Mon, Jul 19, 2010 at 08:28:02AM +0100, Rich

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 09:51, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alexander Graf wrote: >> >> On 19.07.2010, at 09:33, Gleb Natapov wrote: >> >>> On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapo

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 08:44:16AM +0100, Richard W.M. Jones wrote: > On Mon, Jul 19, 2010 at 10:33:12AM +0300, Gleb Natapov wrote: > > On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: > > > On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: > > > > That what I am warr

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 09:40:18AM +0200, Alexander Graf wrote: > > On 19.07.2010, at 09:33, Gleb Natapov wrote: > > > On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: > >> On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: > >>> That what I am warring about too. If

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 10:33:12AM +0300, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: > > On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: > > > That what I am warring about too. If we are adding device we have to be > > > sure such device

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Alexander Graf
On 19.07.2010, at 09:33, Gleb Natapov wrote: > On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: >> On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: >>> That what I am warring about too. If we are adding device we have to be >>> sure such device can actually exist o

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Gleb Natapov
On Mon, Jul 19, 2010 at 08:28:02AM +0100, Richard W.M. Jones wrote: > On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: > > That what I am warring about too. If we are adding device we have to be > > sure such device can actually exist on real hw too otherwise we may have > > problems l

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-19 Thread Richard W.M. Jones
On Mon, Jul 19, 2010 at 09:23:56AM +0300, Gleb Natapov wrote: > That what I am warring about too. If we are adding device we have to be > sure such device can actually exist on real hw too otherwise we may have > problems later. I don't understand why the constraints of real h/w have anything to d

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Gleb Natapov
On Sun, Jul 18, 2010 at 10:32:53PM +0200, Alexander Graf wrote: > > On 18.07.2010, at 22:09, Richard W.M. Jones wrote: > > > On Sun, Jul 18, 2010 at 07:26:57PM +0200, Alexander Graf wrote: > >> On 17.07.2010, at 11:53, Richard W.M. Jones wrote: > >>> On Sat, Jul 17, 2010 at 10:50:59AM +0100, Rich

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Gleb Natapov
On Sun, Jul 18, 2010 at 07:26:57PM +0200, Alexander Graf wrote: > > On 17.07.2010, at 11:53, Richard W.M. Jones wrote: > > > On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: > >> I understand from the git logs that fw_cfg was added because the old > >> way was to load kernel &

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Alexander Graf
On 18.07.2010, at 22:09, Richard W.M. Jones wrote: > On Sun, Jul 18, 2010 at 07:26:57PM +0200, Alexander Graf wrote: >> On 17.07.2010, at 11:53, Richard W.M. Jones wrote: >>> On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: I understand from the git logs that fw_cfg was ad

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Richard W.M. Jones
On Sun, Jul 18, 2010 at 07:26:57PM +0200, Alexander Graf wrote: > On 17.07.2010, at 11:53, Richard W.M. Jones wrote: > > On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: > >> I understand from the git logs that fw_cfg was added because the old > >> way was to load kernel & initrd

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-18 Thread Alexander Graf
On 17.07.2010, at 11:53, Richard W.M. Jones wrote: > On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: >> I understand from the git logs that fw_cfg was added because the old >> way was to load kernel & initrd into RAM directly, but this didn't >> work because SeaBIOS would clea

Re: [Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-17 Thread Richard W.M. Jones
On Sat, Jul 17, 2010 at 10:50:59AM +0100, Richard W.M. Jones wrote: > I understand from the git logs that fw_cfg was added because the old > way was to load kernel & initrd into RAM directly, but this didn't > work because SeaBIOS would clear the RAM, clobbering kernel & initrd. > Could we change t

[Qemu-devel] Question about qemu firmware configuration (fw_cfg) device

2010-07-17 Thread Richard W.M. Jones
I'm trying to speed up the process of loading kernel and initrd. I found that the main loop which loads these into qemu memory does it via executing in the guest: rep insb (%dx),%es:(%edi) In other words, reading it byte-at-a-time from an emulated IO port. This is very slow[1] when your initrd

[Qemu-devel] Question about qemu io addressing

2006-06-30 Thread Alessandro Corradi
Hi all,Is it possible to use an hardware in memory address space instead of use io-address in i386 emulation? And if it is possible, how it influence emulation speed?ThanksAle ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailm