From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yolkfull Chow Subject: Re: [Autotest] [PATCH] Add a kvm subtest -- pci_hotplug, which supports both Windows OS and Linux OS. Date: Tue, 28 Jul 2009 17:01:59 +0800 Message-ID: <20090728090159.GA5751@aFu.nay.redhat.com> References: <1283926593.702711248067671557.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> <4A64032A.8090804@redhat.com> <20090720070110.GA17650@aFu.nay.redhat.com> <4A641AD4.2030502@redhat.com> <20090721061121.GA5975@dhcp-66-70-57.nay.redhat.com> <4A65721B.9070002@redhat.com> <20090723071817.GA2740@aFu.nay.redhat.com> <6ac58f4f0907272203n8ee1a4aue2add1fd31163583@mail.gmail.com> Reply-To: Yolkfull Chow Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: autotest@test.kernel.org, Vadim Rozenfeld , kvm@vger.kernel.org To: Lucas Meneghel Rodrigues Return-path: Received: from mx2.redhat.com ([66.187.237.31]:33408 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbZG1JBv (ORCPT ); Tue, 28 Jul 2009 05:01:51 -0400 Content-Disposition: inline In-Reply-To: <6ac58f4f0907272203n8ee1a4aue2add1fd31163583@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Jul 28, 2009 at 02:03:10AM -0300, Lucas Meneghel Rodrigues wrote: > On Thu, Jul 23, 2009 at 4:18 AM, Yolkfull Chow wrote: > >>> Hi Yaniv, following is the output from Windows guest: > >>> > >>> --- > >>> Microsoft DiskPart version 6.0.6001 > >>> Copyright (C) 1999-2007 Microsoft Corporation. > >>> On computer: WIN-Q18A9GP5ECI > >>> > >>> Disk 1 is now the selected disk. > >>> > >>> DiskPart has encountered an error: The media is write protected. > >>> See the System Event Log for more information. > >>> > >>> Have you ever seen this error during format newly added SCSI block > >>> device? > >>> > >>> The contents of my diskpart script file: > >>> --- > >>> select disk 1 > >>> > >> > >> online > >> > >>> create partition primary > >>> exit > >>> --- > >>> > >>> > >> I didn't use a script - nor have I ever hot-plugged a disk, but it does > >> seem to happen to me as well now - the 2nd disk (the first is IDE) is > >> indeed seems to be R/O. > >> I'll look into it. > > > > Hi Lucas, did you notice this problem happened on Windows guest? What's > > your opinion about the patch pci_hotplug,send or wait? > > Hi Yolkfull, sorry for the delay answering. Yes, I did see the problem > on windows guests. About the test itself, it looks good and I am > making more tests before integrating it. Interestingly I tried it with > older fedora versions and lspci doesn't seem to be able to recognize > the newly added devices. High time we add step files and data for F10 > and F11 on the default config file. > > > I think I can still send the patch for now, and just use 'detail disk' which doesn't format the newly added > > disk in diskpart script. As soon as we have a solution, I can submit a > > patch to fix it. Moreover, nic_virtio and block_virtio for Windows section will be > > disabled in config file as well since both drivers don't work well now. > > Ok, if you have an updated patch, please send it. Let's try to get all > the problems addressed as soon as possible. > > Thanks for your work on this! Ok, I will post it here soon after I finish current case. Thanks, Lucas. :-) Regards,