[Qemu-devel] [Bug 618533] [NEW] OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2010-08-16 Thread devsk
Public bug reported: # qemu-kvm --version QEMU emulator version 0.13.50 (qemu-kvm-devel), Copyright (c) 2003-2008 Fabrice Bellard The following disk is presented to guest as IDE disk with /dev/sdd as path. # fdisk -l /dev/sdd Disk /dev/sdd: 750.2 GB, 750156374016 bytes 255 heads, 63 sectors/tr

[Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2010-08-16 Thread devsk
** Attachment added: "qemu's version on Solaris partition table" https://bugs.launchpad.net/bugs/618533/+attachment/1492913/+files/opensolaris-qemu.png -- OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm- (GIT) https://bugs.launchpad.net/bugs/618533 Y

[Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2010-08-16 Thread devsk
** Attachment added: "VirtualBox's version of Solaris partition table." https://bugs.launchpad.net/qemu/+bug/618533/+attachment/1492914/+files/opensolaris-vbox.png -- OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm- (GIT) https://bugs.launchpad.net/b

[Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2010-08-16 Thread devsk
Qemu's version of partition table is gotten using a OpenSolaris b134 livecd because I couldn't really boot the disk. Basically, somehow all the slice labels are missing when booted in Qemu. OpenSolaris thinks that /dev/sdd3 (which is a primary Solaris 'bf' type partition) is not sliced. Hence, its

[Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2010-08-16 Thread devsk
This is a showstopper bug for me to adopt KVM as the virtualization solution because I just can't boot my OpenSolaris guest. I want to move to KVM because of in-kernel support and better SMP support. -- OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm- (GI

[Qemu-devel] USB-Mass-Storage and OpenBSD 4.7 problem

2010-08-16 Thread Sebastian Schuetz
Hello list, I am trying to write to an usb image file using OpenBSD 4.7 as guest and a fresh "QEMU emulator version 0.12.90". While trying to access the device I got the following error messages: snip~~~ umass0 at uhub0 port 1 configuration 1 interface 0 "QEMU 0.12.90 QEMU

[Qemu-devel] Re: Unmaintained QEMU builds

2010-08-16 Thread Paolo Bonzini
On 08/15/2010 11:42 PM, Anthony Liguori wrote: Given that it's known to have a lot of issues, I would suggest that we schedule Windows host support for deprecation in 0.15. I would not recommend that we remove any of the WIN32 code from the build but basically stop trying to make it even build un

[Qemu-devel] Re: [qemu-kvm] build fail on i386 RHEL5u4

2010-08-16 Thread Avi Kivity
On 08/16/2010 04:27 AM, Hao, Xudong wrote: Appears to be a gcc bug. I opened https://bugzilla.redhat.com/show_bug.cgi?id=624279 to track this. Meanwhile, installing the gcc44 package and building with it (./configure --cc=gcc44) appears to work. Avi, Gcc44 works for me. I saw Jakub marked t

[Qemu-devel] Re: [PATCH 15/15] xen: Add a Xen specific ACPI Implementation to target-xen

2010-08-16 Thread Stefano Stabellini
On Fri, 13 Aug 2010, Anthony Liguori wrote: > On 08/13/2010 02:37 PM, Stefano Stabellini wrote: > > On Fri, 13 Aug 2010, Anthony Liguori wrote: > > > >> On 08/12/2010 09:10 AM, stefano.stabell...@eu.citrix.com wrote: > >> > >>> From: Anthony PERARD > >>> > >>> Xen currently uses a differe

[Qemu-devel] Re: [PATCH 08/15] xen: Read and write the state of the VM in xenstore

2010-08-16 Thread Stefano Stabellini
On Sun, 15 Aug 2010, Paolo Bonzini wrote: > On 08/13/2010 02:53 PM, Anthony Liguori wrote: > > On 08/12/2010 09:09 AM, stefano.stabell...@eu.citrix.com wrote: > >> From: Anthony PERARD > >> > >> Introduce functions to read and write the state of the VM in xenstore. > > > > This basically creates a

[Qemu-devel] [Bug 521994] Re: Windows 98 doesn't detect mouse on qemu and SeaBIOS.

2010-08-16 Thread Kusanagi Kouichi
Looks to be fixed by commit 14ac15d3ac8e0ef1c91204e2ac772b6412a6b99e Author: Anthony Liguori Date: Tue May 11 07:56:30 2010 -0500 Update SeaBIOS - 7d09d0e Fix virtio compile errors on various gcc versions. - 89acfa3 Support for booting from virtio disks - 6d66316 smbios: av

[Qemu-devel] Re: [PATCH 08/15] xen: Read and write the state of the VM in xenstore

2010-08-16 Thread Paolo Bonzini
On 08/16/2010 01:15 PM, Stefano Stabellini wrote: On Sun, 15 Aug 2010, Paolo Bonzini wrote: On 08/13/2010 02:53 PM, Anthony Liguori wrote: On 08/12/2010 09:09 AM, stefano.stabell...@eu.citrix.com wrote: From: Anthony PERARD Introduce functions to read and write the state of the VM in xenstore

[Qemu-devel] Re: [PATCH 08/15] xen: Read and write the state of the VM in xenstore

2010-08-16 Thread Stefano Stabellini
On Mon, 16 Aug 2010, Paolo Bonzini wrote: > On 08/16/2010 01:15 PM, Stefano Stabellini wrote: > > On Sun, 15 Aug 2010, Paolo Bonzini wrote: > >> On 08/13/2010 02:53 PM, Anthony Liguori wrote: > >>> On 08/12/2010 09:09 AM, stefano.stabell...@eu.citrix.com wrote: > From: Anthony PERARD > >

Re: [Qemu-devel] [PATCH 02/15] xen: Add xen_machine_fv

2010-08-16 Thread Kevin Wolf
Am 12.08.2010 16:09, schrieb stefano.stabell...@eu.citrix.com: > From: Anthony PERARD > > Add the Xen FV (Fully Virtualized) machine to Qemu; > this is groundwork to add Xen device model support in Qemu. > > Signed-off-by: Anthony PERARD > Signed-off-by: Stefano Stabellini Why does this need

Re: [Qemu-devel] [PATCH 02/15] xen: Add xen_machine_fv

2010-08-16 Thread Stefano Stabellini
On Mon, 16 Aug 2010, Kevin Wolf wrote: > Am 12.08.2010 16:09, schrieb stefano.stabell...@eu.citrix.com: > > From: Anthony PERARD > > > > Add the Xen FV (Fully Virtualized) machine to Qemu; > > this is groundwork to add Xen device model support in Qemu. > > > > Signed-off-by: Anthony PERARD > >

Re: [Qemu-devel] [PATCH 02/15] xen: Add xen_machine_fv

2010-08-16 Thread Kevin Wolf
Am 16.08.2010 16:04, schrieb Stefano Stabellini: > On Mon, 16 Aug 2010, Kevin Wolf wrote: >> Am 12.08.2010 16:09, schrieb stefano.stabell...@eu.citrix.com: >>> From: Anthony PERARD >>> >>> Add the Xen FV (Fully Virtualized) machine to Qemu; >>> this is groundwork to add Xen device model support in

Re: [Qemu-devel] [PATCH 02/15] xen: Add xen_machine_fv

2010-08-16 Thread Anthony Liguori
On 08/16/2010 09:13 AM, Kevin Wolf wrote: Am 16.08.2010 16:04, schrieb Stefano Stabellini: On Mon, 16 Aug 2010, Kevin Wolf wrote: Am 12.08.2010 16:09, schrieb stefano.stabell...@eu.citrix.com: From: Anthony PERARD Add the Xen FV (Fully Virtualized) machine to Qemu; this is g

Re: [Qemu-devel] [PATCH 02/15] xen: Add xen_machine_fv

2010-08-16 Thread Kevin Wolf
Am 16.08.2010 16:38, schrieb Anthony Liguori: > On 08/16/2010 09:13 AM, Kevin Wolf wrote: >> Am 16.08.2010 16:04, schrieb Stefano Stabellini: >> >>> On Mon, 16 Aug 2010, Kevin Wolf wrote: >>> Am 12.08.2010 16:09, schrieb stefano.stabell...@eu.citrix.com: > From: Anth

Re: [Qemu-devel] [PATCH 02/15] xen: Add xen_machine_fv

2010-08-16 Thread Stefano Stabellini
On Mon, 16 Aug 2010, Kevin Wolf wrote: > Right, I agree. This is why I put the exception for the platform device. > There are probably some more devices for which the same applies. > > But these exceptions all about guest state. If qdev was finished, this > would be a matter of having a different

Re: [Qemu-devel] [PATCH 02/15] xen: Add xen_machine_fv

2010-08-16 Thread Anthony Liguori
On 08/16/2010 09:51 AM, Kevin Wolf wrote: Am 16.08.2010 16:38, schrieb Anthony Liguori: To be honest, I think we'll need KVM, Xen, and QEMU specific machines. The right default set of hardware for all three is different. Right, I agree. This is why I put the exception for the platfo

Re: [Qemu-devel] [PATCH 2/4] scsi-disk: fix the mode data header returned by the MODE SENSE(10) command

2010-08-16 Thread Kevin Wolf
Am 02.08.2010 17:31, schrieb Bernhard Kohl: > The header for the MODE SENSE(10) command is 8 bytes long. > > Signed-off-by: Bernhard Kohl > --- > hw/scsi-disk.c | 35 --- > 1 files changed, 28 insertions(+), 7 deletions(-) > > diff --git a/hw/scsi-disk.c b/hw/

Re: [Qemu-devel] [PATCH 3/4] scsi-disk: fix changeable values returned by the MODE SENSE command

2010-08-16 Thread Kevin Wolf
Am 02.08.2010 17:31, schrieb Bernhard Kohl: > If the page control (PC) field in the MODE SENSE command defines Changeable > Values to be returned in the mode pages, don't return any mode page as there > is no support to change any values. > > Signed-off-by: Bernhard Kohl > --- > hw/scsi-disk.c |

Re: [Qemu-devel] [PATCH 4/4] scsi-disk: fix the block descriptor returned by the MODE SENSE command

2010-08-16 Thread Kevin Wolf
Am 02.08.2010 17:31, schrieb Bernhard Kohl: > The block descriptor contains the number of blocks, not the highest LBA. > Real hard disks return 0 if the number of blocks exceed the maximum 0xFF. > > SCSI-Spec: > http://ldkelley.com/SCSI2/SCSI2/SCSI2-08.html#8.3.3 > The number of blocks field s

Re: [Qemu-devel] [PATCH 0/4] scsi-disk: improve the emulation of the MODE SENSE command

2010-08-16 Thread Kevin Wolf
Am 02.08.2010 17:31, schrieb Bernhard Kohl: > This series fixes some issues with the MODE SENSE command. > > I have an OS which fails during this command. It works fine with > real SCSI disk hardware. In general this series looks fine. I had some minor comments that I'd like to have addressed bef

[Qemu-devel] Re: [PATCH 3/7] AMD IOMMU emulation

2010-08-16 Thread Blue Swirl
On Sun, Aug 15, 2010 at 7:27 PM, Eduard - Gabriel Munteanu wrote: > This introduces emulation for the AMD IOMMU, described in "AMD I/O > Virtualization Technology (IOMMU) Specification". > > Signed-off-by: Eduard - Gabriel Munteanu > --- >  Makefile.target |    2 + >  hw/amd_iommu.c  |  688 > ++

[Qemu-devel] Re: [PATCH 1/5] HACKING: add preprocessor rules

2010-08-16 Thread Blue Swirl
On Sun, Aug 15, 2010 at 9:27 PM, Andreas Schwab wrote: > Blue Swirl writes: > >> +For variadic macros, stick with C99 syntax: >> + >> +#define DPRINTF(fmt, ...)                                       \ >> +    do { printf("IRQ: " fmt, ## __VA_ARGS__); } while (0) > > That's not C99 syntax, the com

Re: [Qemu-devel] [PATCH 2/5] HACKING: add C type rules

2010-08-16 Thread Blue Swirl
On Sun, Aug 15, 2010 at 9:37 PM, Anthony Liguori wrote: > Hi Blue, > > Thanks for putting this document together.  It should be quiet helpful! > > On 08/15/2010 12:50 PM, Blue Swirl wrote: >> >> Add C type rules, adapted from libvirt HACKING. Also include >> a description of special QEMU scalar ty

Re: [Qemu-devel] Re: [PATCH 1/5] HACKING: add preprocessor rules

2010-08-16 Thread Anthony Liguori
On 08/16/2010 01:05 PM, Blue Swirl wrote: On Sun, Aug 15, 2010 at 9:27 PM, Andreas Schwab wrote: Blue Swirl writes: +For variadic macros, stick with C99 syntax: + +#define DPRINTF(fmt, ...) \ +do { printf("IRQ: " fmt, ## __VA_ARGS__); } whi

Re: [Qemu-devel] Unmaintained QEMU builds

2010-08-16 Thread Blue Swirl
On Sun, Aug 15, 2010 at 9:42 PM, Anthony Liguori wrote: > On 08/11/2010 11:34 AM, Blue Swirl wrote: >> >> On Wed, Aug 11, 2010 at 10:58 AM, Stefan Weil >>  wrote: >> >>> >>> Hi, >>> >>> since several months, QEMU for Windows (and mingw32 cross builds) >>> no longer builds without error. >>> >> >>

[Qemu-devel] Re: [PATCH] sparc escc IUS improvements (SunOS 4.1.4 fix)

2010-08-16 Thread Blue Swirl
Thanks, applied. On Sun, Aug 15, 2010 at 2:04 PM, Artyom Tarasenko wrote: > According to scc_escc_um.pdf: >  - Reset Highest IUS must update irq status to allow processing >   of the next priority interrupt. >  - rx interrupt has always higher priority than tx on same channel > > The documentatio

Re: [Qemu-devel] Unknown command 0xffffff in SVGA command FIFO

2010-08-16 Thread Janne Huttunen
I came up with this version, it kind of reverses the logic of your patch but reuses the _items function (renamed _length), please see if it looks ok and possibly even works. [sorry about the delay, I was out of office for a while] Yes, your version works (both on paper and in practice). I'm n

Re: [Qemu-devel] Unmaintained QEMU builds

2010-08-16 Thread Anthony Liguori
On 08/16/2010 01:51 PM, Blue Swirl wrote: On Sun, Aug 15, 2010 at 9:42 PM, Anthony Liguori wrote: On 08/11/2010 11:34 AM, Blue Swirl wrote: On Wed, Aug 11, 2010 at 10:58 AM, Stefan Weil wrote: Hi, since several months, QEMU for Windows (and mingw32 cross builds) no longe

[Qemu-devel] KVM forum 2010 presentations

2010-08-16 Thread Dor Laor
http://www.linux-kvm.org/page/KvmForum2010 Video's will follow as well (thanks Andrew). Thanks for everyone for your participation, looking forward for 2011! Dor

[Qemu-devel] KVM Forum 2010: presentations online

2010-08-16 Thread Chris Wright
KVM Forum 2010 was quite a success, many thanks to all who participated! For those who couldn't attend, the presentations are available online now: (thanks to Andrew Cathrow for pushing them all up) http://www.linux-kvm.org/page/KVM_Forum_2010#Presentations We were also able to video the speaker

[Qemu-devel] Re: KVM Forum 2010: presentations online

2010-08-16 Thread Dor Laor
On 08/17/2010 12:50 AM, Chris Wright wrote: KVM Forum 2010 was quite a success, many thanks to all who participated! For those who couldn't attend, the presentations are available online now: (thanks to Andrew Cathrow for pushing them all up) http://www.linux-kvm.org/page/KVM_Forum_2010#Present

[Qemu-devel] Re: KVM Forum 2010: presentations online

2010-08-16 Thread Chris Wright
* Dor Laor (dl...@redhat.com) wrote: > On 08/17/2010 12:50 AM, Chris Wright wrote: > >KVM Forum 2010 was quite a success, many thanks to all who participated! > > > >For those who couldn't attend, the presentations are available online now: > >(thanks to Andrew Cathrow for pushing them all up) > >

[Qemu-devel] KVM call agenda for August 17

2010-08-16 Thread Chris Wright
Please send in any agenda items you are interested in covering. thanks, -chris

[Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2010-08-16 Thread devsk
I ran qemu from command line with debugcon: # /usr/bin/qemu-system-x86_64 --enable-kvm -M pc-0.12 -enable-kvm -m 1024 -smp 2,sockets=2,cores=1,threads=1 -name opensolaris -uuid 7efc6da0-e40f-a1c5-0e85-763dc7ff209c -nodefaults -rtc base=localtime -boot dc -device lsi,id=scsi0,bus=pci.0,addr=0x6

[Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2010-08-16 Thread devsk
I thought C*H*S was equal to the physical size. if c <16384, h<16, s<63 for the physical, then max size disk it can support is about 8GB. what gives? And C*H*S IS equal to the disk size as shown in the fdisk -l output above. -- OpenSolaris guest fails to see the Solaris partitions of a physical

[Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2010-08-16 Thread devsk
Since I have been battling this issue alone in this bug report, here is the deal: Attached is the patch which applies to 12.5 and 13.5 and fixes the issue. Can someone please verify the integrity and apply? ** Patch added: "Fix some wrong ATA commands." https://bugs.launchpad.net/qemu/+bug/61

[Qemu-devel] [Bug 595438] Re: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

2010-08-16 Thread Martin Pitt
SRU ack, please upload. -- KVM segmentation fault, using SCSI+writeback and linux 2.4 guest https://bugs.launchpad.net/bugs/595438 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in Kernel Virtual Machine: Confirmed Status in QEM