Re: [Qemu-devel] [PATCH 12/16] scsi-generic: use plain ioctl

2010-11-20 Thread Nicholas A. Bellinger
On Sat, 2010-11-20 at 01:25 +, adq wrote: On 20 November 2010 00:41, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Fri, 2010-11-19 at 19:39 +0100, Christoph Hellwig wrote: On Thu, Nov 18, 2010 at 03:47:36PM +0100, Hannes Reinecke wrote: aio_ioctl is emulated anyway and

Re: [Qemu-devel] Re: [PATCH 0/2] v8 Decouple block device removal from device removal

2010-11-20 Thread Kevin Wolf
Am 16.11.2010 14:51, schrieb Luiz Capitulino: On Fri, 12 Nov 2010 18:38:57 +0100 Kevin Wolf kw...@redhat.com wrote: Am 12.11.2010 18:07, schrieb Ryan Harper: details, details, v8 This patch series decouples the detachment of a block device from the removal of the backing pci-device.

Re: [Qemu-devel] macaddr doesn't work

2010-11-20 Thread Mulyadi Santosa
On Fri, Nov 19, 2010 at 16:09, 郭沐錫 maxgreg13...@gmail.com wrote: However the eth0 will disapear and induce I cannot assign the IP address to the QEMU. http://myweb.ncku.edu.tw/~p76991028/eth0.png I think I already asked you to type ifconfig -a and see if it is there? -- regards, Mulyadi

Re: [Qemu-devel] [PATCH 12/16] scsi-generic: use plain ioctl

2010-11-20 Thread adq
On 20 November 2010 08:23, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Sat, 2010-11-20 at 01:25 +, adq wrote: On 20 November 2010 00:41, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Fri, 2010-11-19 at 19:39 +0100, Christoph Hellwig wrote: On Thu, Nov 18, 2010 at

Re: [Qemu-devel] macaddr doesn't work

2010-11-20 Thread 郭沐錫
Dear all Sorry, I was wrong. I was too hurry to result in that I don't understand that command. By ifconfig -a, I found other eth... Thank you to Mulyadi. Best Regards, 2010/11/20 Mulyadi Santosa mulyadi.sant...@gmail.com On Fri, Nov 19, 2010 at 16:09, 郭沐錫 maxgreg13...@gmail.com wrote:

Re: [Qemu-devel] [PATCH v2 1/2] Minimal RAM API support

2010-11-20 Thread Anthony Liguori
On 11/01/2010 10:14 AM, Alex Williamson wrote: This adds a minimum chunk of Anthony's RAM API support so that we can identify actual VM RAM versus all the other things that make use of qemu_ram_alloc. Signed-off-by: Alex Williamsonalex.william...@redhat.com --- Makefile.objs |1 +

Re: [Qemu-devel] [PATCH v2] ioport: Fix duplicated code

2010-11-20 Thread Anthony Liguori
On 11/11/2010 08:03 AM, Luiz Capitulino wrote: Functions register_ioport_read() and register_ioport_write() are almost identical, the only difference is that they write to different arrays. Introduce register_ioport_rw() to handle this difference and change both functions to use it instead of

Re: [Qemu-devel] Re: [PATCH v2 0/4] use new vgabios.

2010-11-20 Thread Anthony Liguori
On 11/17/2010 04:26 AM, Gerd Hoffmann wrote: On 11/16/10 15:51, Anthony Liguori wrote: On 11/01/2010 11:03 AM, Gerd Hoffmann wrote: On 10/15/10 12:02, Gerd Hoffmann wrote: This patch series will put the new vgabios into use for stdvga and vmware_vga. The vgabios patches have been posted a

Re: [Qemu-devel] [PATCH 0/3] add hotplug opt-out option for devices.

2010-11-20 Thread Anthony Liguori
On 11/18/2010 04:45 AM, Gerd Hoffmann wrote: Hi, This patch series adds a qdev flag which allows devices being tagged as not hotpluggable. It also sets this flag for a number of devices. I understand why you're adding this but this is one of those horrible abuses of qdev that we

Re: [Qemu-devel] [PATCH] stop the iteration when too many pages is transferred

2010-11-20 Thread Anthony Liguori
On 11/17/2010 08:32 PM, Wen Congyang wrote: When the total sent page size is larger than max_factor times of the size of guest OS's memory, stop the iteration. The default value of max_factor is 3. This is similar to XEN. Signed-off-by: Wen Congyang I'm strongly opposed to doing

Re: [Qemu-devel] [PATCH 1/1] NBD isn't used by qemu-img, so don't link qemu-img against NBD objects

2010-11-20 Thread Andreas Färber
Am 19.11.2010 um 17:30 schrieb jes.soren...@redhat.com: From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- Makefile |2 +- Makefile.objs | 12 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) Tested-by: Andreas Färber

Re: [Qemu-devel] [PATCH 0/3] add hotplug opt-out option for devices.

2010-11-20 Thread Gleb Natapov
On Fri, Nov 19, 2010 at 08:30:35PM -0600, Anthony Liguori wrote: On 11/18/2010 04:45 AM, Gerd Hoffmann wrote: Hi, This patch series adds a qdev flag which allows devices being tagged as not hotpluggable. It also sets this flag for a number of devices. I understand why you're adding

[Qemu-devel] Re: [PATCH] pci: Replace unneeded type casts in calls of pci_register_bar

2010-11-20 Thread Michael S. Tsirkin
On Fri, Nov 19, 2010 at 07:29:07PM +0100, Stefan Weil wrote: There is no need for these type casts (as other existing code shows). So re-write the first argument without type cast (and remove a related TODO comment). Cc: Michael S. Tsirkin m...@redhat.com Signed-off-by: Stefan Weil

Re: [Qemu-devel] [PATCH 1/1] NBD isn't used by qemu-img, so don't link qemu-img against NBD objects

2010-11-20 Thread Stefan Hajnoczi
On Sat, Nov 20, 2010 at 6:04 PM, Andreas Färber andreas.faer...@web.de wrote: Am 20.11.2010 um 18:39 schrieb Stefan Hajnoczi: On Sat, Nov 20, 2010 at 5:22 PM, Andreas Färber andreas.faer...@web.de wrote: Any plans for a way to disable NBD build completely? There are warnings about use of

Re: [Qemu-devel] macaddr doesn't work

2010-11-20 Thread Mulyadi Santosa
Hi... 2010/11/20 郭沐錫 maxgreg13...@gmail.com: Dear all Sorry, I was wrong. I was too hurry to result in that I don't understand that command. By ifconfig -a, I found other eth... Thank you to Mulyadi. No problem...I believe you had important lesson here :) -- regards, Mulyadi Santosa

Re: [Qemu-devel] Re: [PATCH] PCI: Bus number from the bridge, not the device

2010-11-20 Thread Michael S. Tsirkin
On Fri, Nov 19, 2010 at 10:38:42PM +0200, Gleb Natapov wrote: On Fri, Nov 19, 2010 at 06:02:58PM +0100, Markus Armbruster wrote: Michael S. Tsirkin m...@redhat.com writes: On Tue, Nov 09, 2010 at 11:41:43AM +0900, Isaku Yamahata wrote: On Mon, Nov 08, 2010 at 06:26:33PM +0200, Michael

Re: [Qemu-devel] [PULL] vhost, netdev, e1000, pci

2010-11-20 Thread Luiz Capitulino
On Tue, 16 Nov 2010 15:16:20 +0200 Michael S. Tsirkin m...@redhat.com wrote: Here are some fixes I collected in my tree. Please merge. The following changes since commit 5fc9cfedfa09199e10b5f9b67dcd286bfeae4f7a: Fold send_all() wrapper unix_write() into one function (2010-11-03 12:48:09

[Qemu-devel] Re: [PATCH] ahci: fix lst+fis mapping

2010-11-20 Thread Alexander Graf
On 20.11.2010, at 00:06, Gerd Hoffmann wrote: The ahci map_page() function checks whenever it got a full page mapped. This is wrong. The data structures are much smaller: command list is 1k and fis is 256 bytes. Checking whenever we can access that much bytes without crossing a page

Re: [Qemu-devel] [PATCH 00/10] AHCI emulation support v2

2010-11-20 Thread Alexander Graf
On 19.11.2010, at 14:46, Kevin Wolf wrote: Am 19.11.2010 14:08, schrieb Alexander Graf: On 19.11.2010, at 10:15, Kevin Wolf wrote: Am 18.11.2010 19:43, schrieb Alexander Graf: Then I believe that core.c is now a mixture of some generic ATA code (that is also used by SATA) and the Legacy

Re: [Qemu-devel] [PATCH 00/10] AHCI emulation support v2

2010-11-20 Thread Alexander Graf
On 19.11.2010, at 10:12, Stefan Hajnoczi wrote: On Thu, Nov 18, 2010 at 11:24 PM, Alexander Graf ag...@suse.de wrote: linux-uztg:~ # dd if=/dev/sdc of=/dev/null bs=10M count=300 iflag=direct That's a big block size. bs=8k is interesting too because we see the per-request overhead. Since