public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Dor Laor <dor.laor@qumranet.com>
To: "Muppana, Bhaskar" <bhaskar.muppana@intel.com>
Cc: kvm@vger.kernel.org
Subject: Re: Issues while "Debugging Windows Kernel" running on KVM
Date: Thu, 21 Aug 2008 16:47:38 +0300	[thread overview]
Message-ID: <48AD71FA.2000200@il.qumranet.com> (raw)
In-Reply-To: <7D0189F5BE1DF549A570B212D1D561210FA7C8@bgsmsx412.gar.corp.intel.com>

Can you try http://kvm.qumranet.com/kvmwiki/WindowsGuestDebug
You can use windows host as a VM too.
Since (in the past) there was a problem with the virtual serial polling 
you can use -no-kvm and the
qemu patch, as described in the wiki.
Good luck, Dor.

Muppana, Bhaskar wrote:
> Hi,
>
> I am facing issues while trying to debug Windows XP kernel running on
> top of Linux KVM. 
>
> I have to debug Windows XP kernel running in a VM. I have dedicated
> ttyS0 on the host to the guest. I am using the following command to
> bring up Windows VM.
>
>
> /usr/local/kvm/bin/qemu-system-x86_64 \
>           -hda /opt/vdisk.img \
>           -boot c \
>           -m 512 \
>           -net nic,model=rtl8139,macaddr=52:54:00:12:34:56 \
>           -net tap,ifname=qtap0,script=no \
>           -smp 1 \
>           -usb \
>           -usbdevice tablet \
>           -localtime \
>           -serial /dev/ttyS0 
>
>
>
> I have another machine, running Windows XP, connected to the Linux host
> through serial cable. 
>
> 							--------
> 						     |Windows |
> 						     |  VM    |	
> 						     |(target)|
> 							--------	
>  ---------------				 ----------------
> |  Windows Host | ----------------- | Linux with KVM |
>  ---------------				 ----------------
>
> I am able to send messages between Windows host and target through
> serial ports (tested using windows power shell). But, I am not able to
> use Win DBG (Kernel Debugger) in host to connect to target. Target is
> getting stuck while booting. 
>
> Debug enabled Windows entry in boot.ini:
>
> multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
> Professional" /fastdetect /debugport=COM1 /baudrate=115200
>
>
> Can someone please help me regarding this?
>
>
>
> Thanks,
> Bhaskar
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>   


      reply	other threads:[~2008-08-21 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-21  8:41 Issues while "Debugging Windows Kernel" running on KVM Muppana, Bhaskar
2008-08-21 13:47 ` Dor Laor [this message]

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=48AD71FA.2000200@il.qumranet.com \
    --to=dor.laor@qumranet.com \
    --cc=bhaskar.muppana@intel.com \
    --cc=kvm@vger.kernel.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