public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier-6ktuUTfB/bM@public.gmane.org>
To: "Dong, Eddie" <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [PATCH 2/2] pio cleanup, split kvm_setup_pio() in two functions
Date: Fri, 03 Aug 2007 17:13:21 +0200	[thread overview]
Message-ID: <46B34611.7030800@bull.net> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A01E00844-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 811 bytes --]

Dong, Eddie wrote:
>>> I may confuse you. Currently master doesn't do in kernel PIO
>>> emulation, all string PIO will go to user level which is fine.  With
>>> lapic3, we have kernel PIO emulation for PIC. Linux doesn;t use
>>> string PIO for PIC (port 0x20/0x21) but XP and Win2003 does. So can
>>> u test kernel string PIO? 
>> Yes, I should be able, just explain me what and how...
>>
>> Laurent
> 
> Just check out both lapic3 user & kernel branch 
> (may need to rebase to master). And try to boot XP
> guest like you do for master. 
> thanks, eddie

BTW, could you apply this tiny patch to your branch...
(I don't like garbage in logs :-D )

Regards,
Laurent
-- 
------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org  --------------
          "Software is hard" - Donald Knuth

[-- Attachment #1.1.2: lapic3-printk --]
[-- Type: text/plain, Size: 651 bytes --]

Index: kvm/drivers/kvm/i8259.c
===================================================================
--- kvm.orig/drivers/kvm/i8259.c	2007-08-03 17:00:23.000000000 +0200
+++ kvm/drivers/kvm/i8259.c	2007-08-03 17:01:10.000000000 +0200
@@ -218,10 +218,10 @@
 			s->init_state = 1;
 			s->init4 = val & 1;
 			if (val & 0x02)
-				printk(KERN_ERR "single mode not supported");
+				printk(KERN_ERR "single mode not supported\n");
 			if (val & 0x08)
 				printk(KERN_ERR
-				       "level sensitive irq not supported");
+				       "level sensitive irq not supported\n");
 		} else if (val & 0x08) {
 			if (val & 0x04)
 				s->poll = 1;

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 315 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

  parent reply	other threads:[~2007-08-03 15:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-03  9:28 [PATCH 0/2] Consolidate the insb/outsb emulation into x86_emulate.c (second try) Laurent Vivier
     [not found] ` <46B2F559.5060604-6ktuUTfB/bM@public.gmane.org>
2007-08-03  9:34   ` [PATCH 1/2] call emulate_instruction() to emulate ins/outs Laurent Vivier
     [not found]     ` <46B2F6A7.5010301-6ktuUTfB/bM@public.gmane.org>
2007-08-03  9:37       ` [PATCH 2/2] pio cleanup, split kvm_setup_pio() in two functions Laurent Vivier
     [not found]         ` <46B2F775.2060301-6ktuUTfB/bM@public.gmane.org>
2007-08-03 10:53           ` Dong, Eddie
     [not found]             ` <10EA09EFD8728347A513008B6B0DA77A01E00832-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-03 11:06               ` Laurent Vivier
     [not found]                 ` <46B30C47.3000007-6ktuUTfB/bM@public.gmane.org>
2007-08-03 11:45                   ` Dong, Eddie
     [not found]                     ` <10EA09EFD8728347A513008B6B0DA77A01E00842-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-03 11:52                       ` Dong, Eddie
     [not found]                         ` <10EA09EFD8728347A513008B6B0DA77A01E00843-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-03 11:56                           ` Laurent Vivier
     [not found]                             ` <46B31801.8030709-6ktuUTfB/bM@public.gmane.org>
2007-08-03 12:06                               ` Dong, Eddie
     [not found]                                 ` <10EA09EFD8728347A513008B6B0DA77A01E00844-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-03 12:24                                   ` Dong, Eddie
     [not found]                                     ` <10EA09EFD8728347A513008B6B0DA77A01E0084D-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-08-03 14:45                                       ` Laurent Vivier
     [not found]                                         ` <46B33F71.5000605-6ktuUTfB/bM@public.gmane.org>
2007-08-03 14:58                                           ` Laurent Vivier
2007-08-03 15:13                                   ` Laurent Vivier [this message]
     [not found]                                     ` <46B34611.7030800-6ktuUTfB/bM@public.gmane.org>
2007-08-04  1:41                                       ` Dong, Eddie
2007-08-05  7:43           ` Avi Kivity
2007-08-05  7:38       ` [PATCH 1/2] call emulate_instruction() to emulate ins/outs Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46B34611.7030800@bull.net \
    --to=laurent.vivier-6ktuutfb/bm@public.gmane.org \
    --cc=eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox