Re: [Qemu-devel] GSoC - QCOW2 <-> QED image converter

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 7:03 PM, Lyu Mitnick wrote: > Hello Stefan, Kevin > I don't want to diversify my GSoC applications. I thought I should do my > best of > supporting fully VHD and add asynchronous io into block/vpc.c via > coroutines. I > noticed that there is "splitting hard disk images" fea

[Qemu-devel] [Bug 688052] Re: usb does not work 0.13.0

2011-04-05 Thread Brad Hards
Thanks for the report. For the second part, you need to clone using the git protocol (git clone git://git.qemu.org/qemu.git as shown in http://wiki.qemu.org/Download#Latest_Source_Code). The http bit appears broken for now. I'm not sure about the first part yet - certainly trying a more recent

[Qemu-devel] [Bug 645524] Re: No picture from USB webcam (kvm 0.13-rc1)

2011-04-05 Thread Brad Hards
Thanks for the report. Can you tell me if it works with a Linux guest? Can you tell me what kind of camera it is (e.g. the descriptors from lsusb -v for the device)? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launc

Re: [Qemu-devel] [PATCH V2 4/9] Add tpm_tis driver to build process

2011-04-05 Thread Stefan Berger
On 04/05/2011 02:55 PM, Blue Swirl wrote: On Tue, Apr 5, 2011 at 9:33 PM, Stefan Berger wrote: On 04/05/2011 01:45 PM, Blue Swirl wrote: On Tue, Apr 5, 2011 at 5:08 AM, Stefan Berger wrote: On 04/03/2011 05:20 AM, Blue Swirl wrote: On Fri, Apr 1, 2011 at 10:57 PM, Stefan Berger wr

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

2011-04-05 Thread Brad Hards
Looks like this is fixed in qemu. ** Changed in: qemu Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/521994 Title: Windows 98 doesn't detect mouse on qemu

Re: [Qemu-devel] [PATCH] cpu-all.h: Remove unnecessary target-specific ifdef for CPU_QuadU

2011-04-05 Thread Laurent Vivier
Le mardi 05 avril 2011 à 22:54 +0100, Peter Maydell a écrit : > On 5 April 2011 22:48, Laurent Vivier wrote: > > Le lundi 04 avril 2011 à 12:09 +0100, Peter Maydell a écrit : > >> -#if defined(TARGET_SPARC) || defined(TARGET_S390X) > >> +#if defined(CONFIG_SOFTFLOAT) > > > > Why don't you use "#if

Re: [Qemu-devel] [PATCH] cpu-all.h: Remove unnecessary target-specific ifdef for CPU_QuadU

2011-04-05 Thread Peter Maydell
On 5 April 2011 22:48, Laurent Vivier wrote: > Le lundi 04 avril 2011 à 12:09 +0100, Peter Maydell a écrit : >> -#if defined(TARGET_SPARC) || defined(TARGET_S390X) >> +#if defined(CONFIG_SOFTFLOAT) > > Why don't you use "#if defined(FLOAT128)" ? I did consider that, but I felt FLOAT128 was a soft

Re: [Qemu-devel] [PATCH] cpu-all.h: Remove unnecessary target-specific ifdef for CPU_QuadU

2011-04-05 Thread Laurent Vivier
Le lundi 04 avril 2011 à 12:09 +0100, Peter Maydell a écrit : > CPU_QuadU isn't used on all targets, but there's no harm in defining the > typedef anyway. It only needs to be guarded by CONFIG_SOFTFLOAT, because > softfloat-native doesn't have a float128 type. This avoids the need for > every new t

Re: [Qemu-devel] Questions about chardev (and ps/2 mouse)

2011-04-05 Thread Peter Maydell
On 5 April 2011 21:29, Anthony Liguori wrote: > On 04/05/2011 01:55 PM, Brian Wheeler wrote: >> >> I'm trying to disable the ps/2 mouse in favor of the serial mouse >> provided by -chardev msmouse since the ps/2 mouse has had lots of >> problems with older OSes (OpenStep, OS/2, Win 3.1, etc).  I'v

Re: [Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Anthony Liguori
On 04/05/2011 01:44 PM, Cleber Rosa wrote: On 04/05/2011 03:25 PM, Lucas Meneghel Rodrigues wrote: On Tue, 2011-04-05 at 13:08 -0500, Anthony Liguori wrote: On 04/05/2011 12:08 PM, Alon Levy wrote: The thing about WHQL is that it has its own test suite coordination program (DTM), that has to r

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Anthony Liguori
On 04/05/2011 03:25 PM, Peter Maydell wrote: On 5 April 2011 14:14, Stefan Hajnoczi wrote: This stems from the fact that development is centered around the mailing list. Some folks have put technical documentation on the wiki but a lot simply happens on the mailing list. I'm unsure how we can

Re: [Qemu-devel] Questions about chardev (and ps/2 mouse)

2011-04-05 Thread Anthony Liguori
On 04/05/2011 01:55 PM, Brian Wheeler wrote: I'm trying to disable the ps/2 mouse in favor of the serial mouse provided by -chardev msmouse since the ps/2 mouse has had lots of problems with older OSes (OpenStep, OS/2, Win 3.1, etc). I've got a couple of questions: 1) If I change a VMState some

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Peter Maydell
On 5 April 2011 14:14, Stefan Hajnoczi wrote: > This stems from the fact that development is centered around the > mailing list.  Some folks have put technical documentation on the wiki > but a lot simply happens on the mailing list. > I'm unsure how we can sustainably keep the wiki up-to-date on

Re: [Qemu-devel] Questions about chardev (and ps/2 mouse)

2011-04-05 Thread Brian Wheeler
On Tue, 2011-04-05 at 14:55 -0400, Brian Wheeler wrote: > I'm trying to disable the ps/2 mouse in favor of the serial mouse > provided by -chardev msmouse since the ps/2 mouse has had lots of > problems with older OSes (OpenStep, OS/2, Win 3.1, etc). I've got a > couple of questions: > > 1) If I

Re: [Qemu-devel] [PATCH V2 4/9] Add tpm_tis driver to build process

2011-04-05 Thread Blue Swirl
On Tue, Apr 5, 2011 at 9:33 PM, Stefan Berger wrote: > On 04/05/2011 01:45 PM, Blue Swirl wrote: >> >> On Tue, Apr 5, 2011 at 5:08 AM, Stefan Berger >>  wrote: >>> >>> On 04/03/2011 05:20 AM, Blue Swirl wrote: On Fri, Apr 1, 2011 at 10:57 PM, Stefan Berger    wrote: > > On

[Qemu-devel] Questions about chardev (and ps/2 mouse)

2011-04-05 Thread Brian Wheeler
I'm trying to disable the ps/2 mouse in favor of the serial mouse provided by -chardev msmouse since the ps/2 mouse has had lots of problems with older OSes (OpenStep, OS/2, Win 3.1, etc). I've got a couple of questions: 1) If I change a VMState something by appending a field (i.e. "unplugged"),

[Qemu-devel] [PATCH] v4 revamp acpitable parsing and allow to specify complete (headerful) table

2011-04-05 Thread Michael Tokarev
This patch almost rewrites acpi_table_add() function (but still leaves it using old get_param_value() interface). The result is that it's now possible to specify whole table (together with a header) in an external file, instead of just data portion, with a new file= parameter, but at the same time

Re: [Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Cleber Rosa
On 04/05/2011 03:25 PM, Lucas Meneghel Rodrigues wrote: On Tue, 2011-04-05 at 13:08 -0500, Anthony Liguori wrote: On 04/05/2011 12:08 PM, Alon Levy wrote: The thing about WHQL is that it has its own test suite coordination program (DTM), that has to run on a separate machine/VM. So they have al

Re: [Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Anthony Liguori
On 04/05/2011 01:25 PM, Lucas Meneghel Rodrigues wrote: On Tue, 2011-04-05 at 13:08 -0500, Anthony Liguori wrote: On 04/05/2011 12:08 PM, Alon Levy wrote: The thing about WHQL is that it has its own test suite coordination program (DTM), that has to run on a separate machine/VM. So they have al

Re: [Qemu-devel] [PATCH V2 4/9] Add tpm_tis driver to build process

2011-04-05 Thread Stefan Berger
On 04/05/2011 01:45 PM, Blue Swirl wrote: On Tue, Apr 5, 2011 at 5:08 AM, Stefan Berger wrote: On 04/03/2011 05:20 AM, Blue Swirl wrote: On Fri, Apr 1, 2011 at 10:57 PM, Stefan Berger wrote: On 04/01/2011 02:14 PM, Blue Swirl wrote: At this point there is no compile test needed since al

Re: [Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Lucas Meneghel Rodrigues
On Tue, 2011-04-05 at 13:08 -0500, Anthony Liguori wrote: > On 04/05/2011 12:08 PM, Alon Levy wrote: > > > >> The thing about WHQL is that it has its own test suite coordination > >> program (DTM), that has to run on a separate machine/VM. So they have > >> all infrastructure in place there. If we

[Qemu-devel] Re: [PATCH v2] Improve accuracy of block migration bandwidth calculation

2011-04-05 Thread Michael Roth
On 04/03/2011 03:31 AM, Avishay Traeger wrote: Revised patch for improving the accuracy of the block migration bandwidth calculation. Thanks a lot to Michael Roth for the input. For those that missed the original patch, here is the description: block_mig_state.total_time is currently the sum o

Re: [Qemu-devel] [PATCH V3 8/8] Optional tests for the TIS interface

2011-04-05 Thread Blue Swirl
On Tue, Apr 5, 2011 at 3:07 PM, Stefan Berger wrote: > This patch adds an optional test suite (CONFIG_TIS_TEST) for the TIS interface > to SeaBIOS. If compiled into the BIOS, it can be invoked through the > TPM-specific menu item 8. > > 1. Enable TPM > 2. Disable TPM > 3. Activate TPM > 4. Deactiv

Re: [Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Anthony Liguori
On 04/05/2011 12:08 PM, Alon Levy wrote: The thing about WHQL is that it has its own test suite coordination program (DTM), that has to run on a separate machine/VM. So they have all infrastructure in place there. If we need graphical clients being started and controlled on a linux bare metal m

Re: [Qemu-devel] Re: [PATCH 00/10] pci: pci_register_bar_simple

2011-04-05 Thread Blue Swirl
On Tue, Apr 5, 2011 at 10:39 AM, Avi Kivity wrote: > On 04/04/2011 08:02 PM, Blue Swirl wrote: >> >> On Mon, Apr 4, 2011 at 7:35 PM, Avi Kivity  wrote: >> >  On 04/04/2011 07:22 PM, Anthony Liguori wrote: >> >> >> >>  On 04/04/2011 10:59 AM, Michael S. Tsirkin wrote: >> >>> >> >>>  On Mon, Apr 04,

Re: [Qemu-devel] GSoC - QCOW2 <-> QED image converter

2011-04-05 Thread Lyu Mitnick
Hello Stefan, Kevin I don't want to diversify my GSoC applications. I thought I should do my best of supporting fully VHD and add asynchronous io into block/vpc.c via coroutines. I noticed that there is "splitting hard disk images" feature in VHD specification. I have take a look of block/raw-win3

[Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Lucas Meneghel Rodrigues
On Tue, 2011-04-05 at 20:08 +0300, Alon Levy wrote: > On Tue, Apr 05, 2011 at 01:27:48PM -0300, Lucas Meneghel Rodrigues wrote: > > On Tue, 2011-04-05 at 19:01 +0300, Alon Levy wrote: > > > > So I was basically talking about the added requirement of creating a > > > client > > > connection (one or

Re: [Qemu-devel] Re: [PATCH 00/10] pci: pci_register_bar_simple

2011-04-05 Thread Blue Swirl
On Tue, Apr 5, 2011 at 12:26 AM, Michael S. Tsirkin wrote: > On Tue, Apr 05, 2011 at 12:05:08AM +0300, Blue Swirl wrote: >> On Mon, Apr 4, 2011 at 10:44 PM, Michael S. Tsirkin wrote: >> > On Mon, Apr 04, 2011 at 08:02:23PM +0300, Blue Swirl wrote: >> >> On Mon, Apr 4, 2011 at 7:35 PM, Avi Kivity

Re: [Qemu-devel] [PATCH V2 4/9] Add tpm_tis driver to build process

2011-04-05 Thread Blue Swirl
On Tue, Apr 5, 2011 at 5:08 AM, Stefan Berger wrote: > On 04/03/2011 05:20 AM, Blue Swirl wrote: >> >> On Fri, Apr 1, 2011 at 10:57 PM, Stefan Berger >>  wrote: >>> >>> On 04/01/2011 02:14 PM, Blue Swirl wrote: >>> >>> At this point there is no compile test needed since all code is 'there'. >>> I

Re: [Qemu-devel] KVM call minutes for Apr 5

2011-04-05 Thread Lucas Meneghel Rodrigues
On Tue, 2011-04-05 at 16:29 +0100, Stefan Hajnoczi wrote: > Features that I think are important for a qemu.git kvm-autotest: > * Public results display (sounds like you're working on this) ^ Yes, we hope to get this setup soon. > * Public notifications of breakage, qemu.git/master failures to >

[Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Alon Levy
On Tue, Apr 05, 2011 at 01:27:48PM -0300, Lucas Meneghel Rodrigues wrote: > On Tue, 2011-04-05 at 19:01 +0300, Alon Levy wrote: > > screenshots are already there, and they are a great start. But you can't > > really do testing if you aren't recreating the same environment, and having > > a client s

[Qemu-devel] Re: spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Lucas Meneghel Rodrigues
On Tue, 2011-04-05 at 19:01 +0300, Alon Levy wrote: > screenshots are already there, and they are a great start. But you can't > really do testing if you aren't recreating the same environment, and having > a client server where there is no client, while being a good test, doesn't > cover the case

[Qemu-devel] spice in kvm-autotest [was: Re: KVM call minutes for Apr 5]

2011-04-05 Thread Alon Levy
On Tue, Apr 05, 2011 at 08:07:03AM -0700, Chris Wright wrote: [snip] > kvm-autotest > - roadmap...refactor to centralize testing (handle the xen-autotest split off) > - internally at RH, lmr and cleber maintain autotest server to test > branches (testing qemu.git daily) > - have good automation

Re: [Qemu-devel] Help Debugging AIX boot on qemu-system-ppc (it reads bootfile.exe now)

2011-04-05 Thread Mark Cave-Ayland
On 04/04/11 21:52, Brian Wheeler wrote: Booting AIX 5.2 gives me --- Welcome to AIX. boot image timestamp: 70:80 15/C0 The current time and date

Re: [Qemu-devel] KVM call minutes for Apr 5

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 4:07 PM, Chris Wright wrote: > kvm-autotest > - roadmap...refactor to centralize testing (handle the xen-autotest split off) > - internally at RH, lmr and cleber maintain autotest server to test >  branches (testing qemu.git daily) >  - have good automation for installs and

[Qemu-devel] KVM call minutes for Apr 5

2011-04-05 Thread Chris Wright
KVM Forum - save the date is out, cfp will follow later this week - abstracts due in 6wks, 2wk review period, notifications by end of May Improving process to scale project - Trivial patch bot - Sub-maintainership Trivial patch monkeys^Wteam - small/simple patches posted can fall through the crac

Re: [Qemu-devel] [PATCH] lan9118: Ignore write to MAC_VLAN1 register

2011-04-05 Thread Atsushi Nemoto
On Mon, 4 Apr 2011 20:15:30 +0200, Aurelien Jarno wrote: > Is it really safe ignoring write to this register? If yes, it's probably > a good idea to explain why in a comment. In any case, if supporting this > register is easy to do, it would be the best option. I think it is safe. Please see an

[Qemu-devel] Fedora virt status

2011-04-05 Thread Justin M. Forbes
Fedora 14 - We have 103 open bugs, 16 of which have fixes in awaiting updates. - 1 bugs have been closed in the last week Fedora 15 - Upcoming Deadlines: 2011-04-05 Beta Change Deadline Features 100% Complete *today* 2011-04-19 Beta Release 2011-05-09 Final Change Deadline 2011-05-10 C

Re: [Qemu-devel] [PATCH] scsi-generic: Remove bogus double complete

2011-04-05 Thread Kevin Wolf
Am 05.04.2011 07:07, schrieb David Gibson: > From: Ben Herrenschmidt > > scsi-generic scsi_read_complete() should not -both- call the client > complete callback with SCSI_REASON_DATA -and- call > scsi_command_complete(). The former will cause the client to queue a > new read or write request, wh

[Qemu-devel] Re: [PATCH 1/3] pseries: Abolish envs array

2011-04-05 Thread Alexander Graf
On 04/05/2011 03:16 PM, David Gibson wrote: On Tue, Apr 05, 2011 at 10:05:12AM +0200, Alexander Graf wrote: On 05.04.2011, at 07:12, David Gibson wrote: [snip] +struct icp_state *xics_system_init(int nr_irqs) { +CPUState *env; +int max_server_num; int i; struct icp_state *icp

[Qemu-devel] GSoC 2011: S3 Trio, AHCI

2011-04-05 Thread Roland Elek
Dear Qemu developers, First, I'd like to reintroduce myself, as my university and official duties prevented me from being active in the community since last year. I am Roland Elek, a student from Hungary, and a successful student participant of Google Summer of Code 2010. This year, I would li

[Qemu-devel] Re: [RFC][PATCH 0/6] trace-state: make the behaviour of "disable" consistent across all backends

2011-04-05 Thread Stefan Hajnoczi
On Mon, Apr 4, 2011 at 10:49 PM, Lluís wrote: > This patch defines the "disable" trace event state to always use the "nop" > backend. > > As a side-effect, all events are now enabled (without "disable") by default, > as > all backends (except "stderr") have programmatic support for dynamically >

[Qemu-devel] Re: [PATCH 1/3] pseries: Abolish envs array

2011-04-05 Thread David Gibson
On Tue, Apr 05, 2011 at 10:05:12AM +0200, Alexander Graf wrote: > On 05.04.2011, at 07:12, David Gibson wrote: [snip] > > +struct icp_state *xics_system_init(int nr_irqs) > > { > > +CPUState *env; > > +int max_server_num; > > int i; > > struct icp_state *icp; > > struct ics_stat

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 1:21 PM, Brad Hards wrote: > On Tue, 5 Apr 2011 06:29:48 pm Alexander Graf wrote: >> > quality and resubmission. It would also help to have some explanatory >> > text for some of the architectural docs that are available (e.g. there >> > is a lot of words on the wiki about Q

Re: [Qemu-devel] [PATCH] Fix integer overflow in block migration bandwidth calculation

2011-04-05 Thread Kevin Wolf
Am 31.03.2011 15:52, schrieb Avishay Traeger: > > block_mig_state.reads is an int, and multiplying by BLOCK_SIZE yielded a > negative number, resulting in a negative bandwidth (running on a 32-bit > machine). Cast to avoid. > > Signed-off-by: Avishay Traeger This patch is corrupted by line wra

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 6:42 AM, David Ahern wrote: > On 04/04/11 23:33, Stefan Hajnoczi wrote: >> On Mon, Apr 4, 2011 at 6:54 PM, David Ahern wrote: >>> On 04/04/11 07:38, Anthony Liguori wrote: On 04/04/2011 08:22 AM, Avi Kivity wrote: > On 04/03/2011 02:57 PM, Stefan Hajnoczi wrote: >>

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Brad Hards
On Tue, 5 Apr 2011 06:29:48 pm Alexander Graf wrote: > > quality and resubmission. It would also help to have some explanatory > > text for some of the architectural docs that are available (e.g. there > > is a lot of words on the wiki about QED, and I guess its some kind of > > storage / disk thin

[Qemu-devel] [PATCH V3 4/8] Implementation of the TCG BIOS extensions

2011-04-05 Thread Stefan Berger
This patch implements the main part of the TCG BIOS extensions. It provides the following functionality: - initialization of the TCPA ACPI table used for logging of measurements - initialization of the TPM by sending a sequence of commands to it - proper setup of the TPM once the BIOS hands over c

[Qemu-devel] Re: [PATCH v4] v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 11:35 AM, Harsh Prateek Bora wrote: >    The nwnames field in TWALK message is assumed to be >=0 and <= MAXWELEM >    which is defined as macro P9_MAXWELEM (16) in virtio-9p.h as per 9p2000 >    RFC. Appropriate changes are required in V9fsWalkState and v9fs_walk. > > v4: >

[Qemu-devel] [PATCH V3 2/8] Provide ACPI SSDT table for TPM device + S3 resume support

2011-04-05 Thread Stefan Berger
This patch provides ACPI support for the TPM device. It probes for the TPM device and only if a TPM device is found then the TPM's SSDT and TCPA table are created. This patch also connects them to the RSDT. Since the logging area in the TCPA table requires 64kb, the memory reserved for ACPI tables

[Qemu-devel] [PATCH V3 8/8] Optional tests for the TIS interface

2011-04-05 Thread Stefan Berger
This patch adds an optional test suite (CONFIG_TIS_TEST) for the TIS interface to SeaBIOS. If compiled into the BIOS, it can be invoked through the TPM-specific menu item 8. 1. Enable TPM 2. Disable TPM 3. Activate TPM 4. Deactivate TPM 5. Clear ownership 6. Allow installation of owner 7. Prevent

[Qemu-devel] [PATCH V3 5/8] Support for BIOS interrupt handler

2011-04-05 Thread Stefan Berger
This patch implements the TCG BIOS interrupt handler 1ah. It is for example used by trusted grub. This patch adds an implementation of SHA1 (following NIST specs., IETF RFC 3147 and Wikipedia) for speeding up measurements of code. Trusted Grub for example makes use of this interface and measures (

[Qemu-devel] [PATCH V3 6/8] Add measurement code to the BIOS

2011-04-05 Thread Stefan Berger
This patch adds invocactions of functions that measure various parts of the code and data through various parts of the BIOS code. It follows TCG specifications on what needs to be measured. It also adds the implementation of the called functions. Reference for what needs to be measured can be foun

[Qemu-devel] [PATCH V3 0/8] Add TPM support to SeaBIOS

2011-04-05 Thread Stefan Berger
The following set of patches add TPM and Trusted Computing support to SeaBIOS. In particular the patches add: - a TPM driver for the Qemu's TPM TIS emulation (not yet in Qemu git) - ACPI support for the TPM device (SSDT table) - ACPI support for measurement logging (TCPA table) - Support for initi

[Qemu-devel] [PATCH V3 7/8] Add a menu for TPM control

2011-04-05 Thread Stefan Berger
This patch provides an addtional menu entry that enables the user to control certain aspects of the TPM. If a working TPM has been detected, the top level BIOS menu will look like this: Press F12 for boot menu. Press F11 to TPM menu. Upon pressing F11 the TPM menu will be shown: 1. Enable TPM 2

[Qemu-devel] [PATCH V3 1/8] Add an implementation for a TPM TIS driver

2011-04-05 Thread Stefan Berger
This patch adds an implementation of a TPM TIS driver for the TPM TIS emulation supported by Qemu (patches posted, not in git yet). Usage of the driver is broken up into several functions. The driver is cleanly separated from the rest of the code through an interface holding pointers to the driver'

[Qemu-devel] [PATCH V3 3/8] Add public get_rsdp function

2011-04-05 Thread Stefan Berger
This patch adds a global get_rsdp() function call and refactors find_resume_vector() to call it. Signed-off-by: Stefan Berger --- src/acpi.c | 12 ++-- src/acpi.h |1 + 2 files changed, 11 insertions(+), 2 deletions(-) Index: seabios/src/acpi.c ===

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Brad Hards
On Tue, 5 Apr 2011 08:53:21 pm Stefan Hajnoczi wrote: > scripts/checkpatch.pl is mentioned in CODING_STYLE. I have a git-hook > to automatically run it: > http://blog.vmsplice.net/2011/03/how-to-automatically-run-checkpatchpl.html > > That hook is just a personal tool I use. It is not required b

[Qemu-devel] [PATCH] exec: Handle registrations of the entire address space

2011-04-05 Thread Edgar E. Iglesias
Hi, While experimenting with some odd stuff I ran into trouble when registering the entire address space. The following patch fixes the problem for me. Cheers commit f9a9a0d305ff774efd289ab88be427d1da05edfb Author: Edgar E. Iglesias Date: Tue Apr 5 13:00:36 2011 +0200 exec: Handle regist

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 10:44 AM, Brad Hards wrote: > On Tue, 5 Apr 2011 06:29:48 pm Alexander Graf wrote: >> What exactly do you mean by better-practice git setups? > Some projects try to use special features in git. For example, KDE makes use > of insteadOf and pushInsteadOf to allow checking out

[Qemu-devel] [PATCH v4] v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

2011-04-05 Thread Harsh Prateek Bora
The nwnames field in TWALK message is assumed to be >=0 and <= MAXWELEM which is defined as macro P9_MAXWELEM (16) in virtio-9p.h as per 9p2000 RFC. Appropriate changes are required in V9fsWalkState and v9fs_walk. v4: - rebased on mainline repo, else condition updated as required. v3:

[Qemu-devel] Re: [PATCH v3] v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

2011-04-05 Thread Harsh Bora
On 04/05/2011 02:24 PM, Stefan Hajnoczi wrote: On Tue, Apr 5, 2011 at 6:56 AM, Harsh Prateek Bora wrote: The nwnames field in TWALK message is assumed to be>=0 and<= MAXWELEM which is defined as macro P9_MAXWELEM (16) in virtio-9p.h as per 9p2000 RFC. Appropriate changes are required in V9fsWa

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Alexander Graf
On 05.04.2011, at 11:44, Brad Hards wrote: > On Tue, 5 Apr 2011 06:29:48 pm Alexander Graf wrote: >> What exactly do you mean by better-practice git setups? > Some projects try to use special features in git. For example, KDE makes use > of insteadOf and pushInsteadOf to allow checking out from

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Brad Hards
On Tue, 5 Apr 2011 06:29:48 pm Alexander Graf wrote: > What exactly do you mean by better-practice git setups? Some projects try to use special features in git. For example, KDE makes use of insteadOf and pushInsteadOf to allow checking out from anongit, and committing to the main server using a

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Alon Levy
On Mon, Apr 04, 2011 at 02:59:27PM -0500, Anthony Liguori wrote: > On 04/04/2011 02:22 PM, Juan Quintela wrote: > >Please, send in any agenda items you are interested in covering. > > - KVM Forum -- do we have an ETA on CFP? > > - Sub-maintainership -- how we can expand and improve upon it > > -

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Amit Shah
On (Tue) 05 Apr 2011 [12:17:30], Avi Kivity wrote: > On 04/05/2011 12:12 PM, Amit Shah wrote: > >On (Tue) 05 Apr 2011 [12:00:38], Avi Kivity wrote: > >> On 04/05/2011 11:09 AM, Amit Shah wrote: > >> >On (Tue) 05 Apr 2011 [10:48:16], Avi Kivity wrote: > >> >> On 04/05/2011 09:41 AM, Amit Shah w

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Avi Kivity
On 04/05/2011 12:12 PM, Amit Shah wrote: On (Tue) 05 Apr 2011 [12:00:38], Avi Kivity wrote: > On 04/05/2011 11:09 AM, Amit Shah wrote: > >On (Tue) 05 Apr 2011 [10:48:16], Avi Kivity wrote: > >> On 04/05/2011 09:41 AM, Amit Shah wrote: > >> >See http://www.spinics.net/lists/linux-scsi/msg5

Re: [Qemu-devel] GSoC - QCOW2 <-> QED image converter

2011-04-05 Thread Stefan Hajnoczi
On Mon, Apr 4, 2011 at 7:56 PM, Lyu Mitnick wrote: > Hello all, > Looking at QEMU'w wiki I saw the "QCOW2 <- > QED image converter", that I > am > also interested to work as student and apply for GSoC 2011. I have study > the > specifications of the two images and have some idea about > implementa

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Amit Shah
On (Tue) 05 Apr 2011 [12:00:38], Avi Kivity wrote: > On 04/05/2011 11:09 AM, Amit Shah wrote: > >On (Tue) 05 Apr 2011 [10:48:16], Avi Kivity wrote: > >> On 04/05/2011 09:41 AM, Amit Shah wrote: > >> >See http://www.spinics.net/lists/linux-scsi/msg51504.html > >> > >> I see this is quite fresh.

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Avi Kivity
On 04/05/2011 11:09 AM, Amit Shah wrote: On (Tue) 05 Apr 2011 [10:48:16], Avi Kivity wrote: > On 04/05/2011 09:41 AM, Amit Shah wrote: > >See http://www.spinics.net/lists/linux-scsi/msg51504.html > > I see this is quite fresh. What are the plans here? We're still discussing where the fix sho

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Amit Shah
On (Tue) 05 Apr 2011 [09:40:05], Stefan Hajnoczi wrote: > > See http://www.spinics.net/lists/linux-scsi/msg51504.html > > I don't think that patch updates the block inode size. We'd need to > call fs/block_dev.c:revalidate_disk() instead of directly calling > cdi->disk->fops->revalidate_disk(cdi-

[Qemu-devel] Re: [PATCH v3] v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 6:56 AM, Harsh Prateek Bora wrote: > The nwnames field in TWALK message is assumed to be >=0 and <= MAXWELEM > which is defined as macro P9_MAXWELEM (16) in virtio-9p.h as per 9p2000 > RFC. Appropriate changes are required in V9fsWalkState and v9fs_walk. > > v3: > - Updated

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 9:29 AM, Alexander Graf wrote: > > On 05.04.2011, at 08:01, Brad Hards wrote: > > On Tue, 5 Apr 2011 05:59:27 am Anthony Liguori wrote: > > - Trivial patch monkeys^Wteam -- this is an idea Stefan and I have been > > kicking around to help some of the trivial patches get more

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 7:41 AM, Amit Shah wrote: > On (Mon) 04 Apr 2011 [16:09:05], Stefan Hajnoczi wrote: >> On Mon, Apr 4, 2011 at 2:49 PM, Avi Kivity wrote: >> > On 04/04/2011 04:38 PM, Anthony Liguori wrote: >> >> >> >> On 04/04/2011 08:22 AM, Avi Kivity wrote: >> >>> >> >>> On 04/03/2011 02:

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Alexander Graf
On 05.04.2011, at 08:01, Brad Hards wrote: > On Tue, 5 Apr 2011 05:59:27 am Anthony Liguori wrote: >> - Trivial patch monkeys^Wteam -- this is an idea Stefan and I have been >> kicking around to help some of the trivial patches get more attention on >> the mailing list > I saw a wiki page (http:/

Re: [Qemu-devel] KVM call agenda for April 05

2011-04-05 Thread Stefan Hajnoczi
On Tue, Apr 5, 2011 at 7:01 AM, Brad Hards wrote: > On Tue, 5 Apr 2011 05:59:27 am Anthony Liguori wrote: >> - Trivial patch monkeys^Wteam -- this is an idea Stefan and I have been >> kicking around to help some of the trivial patches get more attention on >> the mailing list > I saw a wiki page (

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Amit Shah
On (Tue) 05 Apr 2011 [10:48:16], Avi Kivity wrote: > On 04/05/2011 09:41 AM, Amit Shah wrote: > >See http://www.spinics.net/lists/linux-scsi/msg51504.html > > I see this is quite fresh. What are the plans here? We're still discussing where the fix should be, but it certainly is a kernel bug and

[Qemu-devel] Re: [PATCH 1/3] pseries: Abolish envs array

2011-04-05 Thread Alexander Graf
On 05.04.2011, at 07:12, David Gibson wrote: > Currently the pseries machine init code builds up an array, envs, of > CPUState pointers for all the cpus in the system. This is kind of > pointless, given the generic code already has a perfectly good linked list > of the cpus. > > In addition, th

[Qemu-devel] Re: [PATCH] spapr_vscsi: Set uninitialized variable

2011-04-05 Thread Alexander Graf
On 05.04.2011, at 07:04, Benjamin Herrenschmidt wrote: > > On Tue, 2011-04-05 at 14:14 +1000, David Gibson wrote: @@ -255,7 +255,7 @@ static int vscsi_srp_direct_data(VSCSIState *s, >> vscsi_req *req, { struct srp_direct_buf *md = req->cur_desc; uint32_t llen; -

Re: [Qemu-devel] [PATCH 15/15] tcg: use ext op for deposit

2011-04-05 Thread Alexander Graf
On 05.04.2011, at 06:54, Aurelien Jarno wrote: > On Mon, Apr 04, 2011 at 04:32:24PM +0200, Alexander Graf wrote: >> With the s390x target we use the deposit instruction to store 32bit values >> into 64bit registers without clobbering the upper 32 bits. >> >> This specific operation can be optimi

Re: [Qemu-devel] [PATCH v2 3/3] raw-posix: Re-open host CD-ROM after media change

2011-04-05 Thread Avi Kivity
On 04/05/2011 09:41 AM, Amit Shah wrote: See http://www.spinics.net/lists/linux-scsi/msg51504.html I see this is quite fresh. What are the plans here? -- error compiling committee.c: too many arguments to function

Re: [Qemu-devel] Re: [PATCH 00/10] pci: pci_register_bar_simple

2011-04-05 Thread Avi Kivity
On 04/04/2011 08:02 PM, Blue Swirl wrote: On Mon, Apr 4, 2011 at 7:35 PM, Avi Kivity wrote: > On 04/04/2011 07:22 PM, Anthony Liguori wrote: >> >> On 04/04/2011 10:59 AM, Michael S. Tsirkin wrote: >>> >>> On Mon, Apr 04, 2011 at 06:27:57PM +0300, Avi Kivity wrote: Many PCI BARs tha