* Can I run guest Windows inside Linux and do remote debugging?
@ 2007-11-14 21:42 Neo Jia
[not found] ` <5d649bdb0711141342v21c1b2c6jd8f90a58b5c29bcd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Neo Jia @ 2007-11-14 21:42 UTC (permalink / raw)
To: kvm-devel
hi,
I am wondering if I can running a guest Windows inside Linux host with
KVM and doing remote debugging (through firewire) another Windows
machine (running natively).
Thanks,
Neo
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and do remotedebugging?
[not found] ` <5d649bdb0711141342v21c1b2c6jd8f90a58b5c29bcd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-11-15 1:40 ` Dong, Eddie
2007-11-15 7:54 ` Dor Laor
1 sibling, 0 replies; 10+ messages in thread
From: Dong, Eddie @ 2007-11-15 1:40 UTC (permalink / raw)
To: Neo Jia, kvm-devel
kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
> hi,
>
> I am wondering if I can running a guest Windows inside Linux host with
> KVM and doing remote debugging (through firewire) another Windows
> machine (running natively).
>
This should be OK as if the connection is network.
eddie
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and do remotedebugging?
[not found] ` <5d649bdb0711141342v21c1b2c6jd8f90a58b5c29bcd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-15 1:40 ` Can I run guest Windows inside Linux and do remotedebugging? Dong, Eddie
@ 2007-11-15 7:54 ` Dor Laor
[not found] ` <473BFB2C.1060506-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
1 sibling, 1 reply; 10+ messages in thread
From: Dor Laor @ 2007-11-15 7:54 UTC (permalink / raw)
To: Neo Jia; +Cc: kvm-devel
[-- Attachment #1.1: Type: text/plain, Size: 1054 bytes --]
Neo Jia wrote:
>
> hi,
>
> I am wondering if I can running a guest Windows inside Linux host with
> KVM and doing remote debugging (through firewire) another Windows
> machine (running natively).
>
> Thanks,
> Neo
>
While its not exactly what you asked for, one can debug a windows guest
using another
windows guest. Here are the instructions:
http://kvm.qumranet.com/kvmwiki/WindowsGuestDebug.
Enjoy, Dor
>
> --
> I would remember that if researchers were not ambitious
> probably today we haven't the technology we are using!
>
> -------------------------------------------------------------------------
> 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/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
[-- Attachment #1.2: Type: text/html, Size: 2312 bytes --]
[-- Attachment #2: Type: text/plain, Size: 314 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and do remotedebugging?
[not found] ` <473BFB2C.1060506-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-11-15 9:07 ` Neo Jia
[not found] ` <5d649bdb0711150107r63c7c3aeo928960bff5c396c5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Neo Jia @ 2007-11-15 9:07 UTC (permalink / raw)
To: dor.laor-atKUWr5tajBWk0Htik3J/w; +Cc: kvm-devel
Thanks. But I cannot use that since I am going to debug drivers
running on Windows and qemu does not expose the real hardware to
guest.
So, here is another question, is there any plan to make qemu transfer
the real hardware to guest?
Thanks,
Neo
On Nov 14, 2007 11:54 PM, Dor Laor <dor.laor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Neo Jia wrote:
>
>
> hi,
>
> I am wondering if I can running a guest Windows inside Linux host with
> KVM and doing remote debugging (through firewire) another Windows
> machine (running natively).
>
> Thanks,
> Neo
> While its not exactly what you asked for, one can debug a windows guest
> using another
> windows guest. Here are the instructions:
> http://kvm.qumranet.com/kvmwiki/WindowsGuestDebug.
> Enjoy, Dor
>
>
>
> --
>
> I would remember that if researchers were not ambitious
> probably today we haven't the technology we are using!
>
> -------------------------------------------------------------------------
> 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/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>
>
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and do remotedebugging?
[not found] ` <5d649bdb0711150107r63c7c3aeo928960bff5c396c5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-11-15 9:49 ` Dor Laor
2007-11-15 10:30 ` Can I run guest Windows inside Linux and doremotedebugging? Dong, Eddie
1 sibling, 0 replies; 10+ messages in thread
From: Dor Laor @ 2007-11-15 9:49 UTC (permalink / raw)
To: Neo Jia; +Cc: kvm-devel
[-- Attachment #1.1: Type: text/plain, Size: 1797 bytes --]
Neo Jia wrote:
> Thanks. But I cannot use that since I am going to debug drivers
> running on Windows and qemu does not expose the real hardware to
> guest.
>
> So, here is another question, is there any plan to make qemu transfer
> the real hardware to guest?
>
>
Not at the moment, there is work in progress (actually patches have been
sent) that allows 1-1
mapping between guest-host addresses and pci passthrough code so you can
assign a
physical device to a windows guest. This is experimental at the moment
but can work.
> Thanks,
> Neo
>
> On Nov 14, 2007 11:54 PM, Dor Laor <dor.laor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
>> Neo Jia wrote:
>>
>>
>> hi,
>>
>> I am wondering if I can running a guest Windows inside Linux host with
>> KVM and doing remote debugging (through firewire) another Windows
>> machine (running natively).
>>
>> Thanks,
>> Neo
>> While its not exactly what you asked for, one can debug a windows guest
>> using another
>> windows guest. Here are the instructions:
>> http://kvm.qumranet.com/kvmwiki/WindowsGuestDebug.
>> Enjoy, Dor
>>
>>
>>
>> --
>>
>> I would remember that if researchers were not ambitious
>> probably today we haven't the technology we are using!
>>
>> -------------------------------------------------------------------------
>> 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/
>> _______________________________________________
>> kvm-devel mailing list
>> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>
>>
>>
>
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 2798 bytes --]
[-- Attachment #2: Type: text/plain, Size: 314 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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and doremotedebugging?
[not found] ` <5d649bdb0711150107r63c7c3aeo928960bff5c396c5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-15 9:49 ` Dor Laor
@ 2007-11-15 10:30 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A026222E3-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
1 sibling, 1 reply; 10+ messages in thread
From: Dong, Eddie @ 2007-11-15 10:30 UTC (permalink / raw)
To: Neo Jia, dor.laor-atKUWr5tajBWk0Htik3J/w; +Cc: kvm-devel
kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
> Thanks. But I cannot use that since I am going to debug drivers
> running on Windows and qemu does not expose the real hardware to
> guest.
>
> So, here is another question, is there any plan to make qemu transfer
> the real hardware to guest?
>
I guess you are talking about serial port assignment which is another
story.
Pass-through devices support is for PCI device only. For leagcy serial
port,
you don't need device assignment, I remember Yunhong Jiang ever posted a
patch in Xen side to support Windows kernel debug. Basically you can
direct vSerial port input/output to physical serial port easily in Qemu,
but
there are binary data format conversion tricky there if I remember
correctly.
CC yunhong here.
Eddie
-------------------------------------------------------------------------
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/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and doremotedebugging?
[not found] ` <10EA09EFD8728347A513008B6B0DA77A026222E3-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2007-11-16 4:32 ` Neo Jia
2007-11-16 8:15 ` Jiang, Yunhong
1 sibling, 0 replies; 10+ messages in thread
From: Neo Jia @ 2007-11-16 4:32 UTC (permalink / raw)
To: Dong, Eddie; +Cc: kvm-devel
On Nov 15, 2007 2:30 AM, Dong, Eddie <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
> > Thanks. But I cannot use that since I am going to debug drivers
> > running on Windows and qemu does not expose the real hardware to
> > guest.
> >
> > So, here is another question, is there any plan to make qemu transfer
> > the real hardware to guest?
> >
>
> I guess you are talking about serial port assignment which is another
> story.
How about the firewire?
Thanks,
Neo
>
> Pass-through devices support is for PCI device only. For leagcy serial
> port,
> you don't need device assignment, I remember Yunhong Jiang ever posted a
>
> patch in Xen side to support Windows kernel debug. Basically you can
> direct vSerial port input/output to physical serial port easily in Qemu,
> but
> there are binary data format conversion tricky there if I remember
> correctly.
>
> CC yunhong here.
> Eddie
>
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and doremotedebugging?
[not found] ` <10EA09EFD8728347A513008B6B0DA77A026222E3-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-16 4:32 ` Neo Jia
@ 2007-11-16 8:15 ` Jiang, Yunhong
[not found] ` <391BF3CDD2DC0848B40ACB72FA97AD59027677B6-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
1 sibling, 1 reply; 10+ messages in thread
From: Jiang, Yunhong @ 2007-11-16 8:15 UTC (permalink / raw)
To: Dong, Eddie, Neo Jia, dor.laor-atKUWr5tajBWk0Htik3J/w; +Cc: kvm-devel
To achieve this, it mean QEMU will transfer serial port data write from
guest to physical one, and also read data received through real physical
serial port and transfer received data to guest.
You can use qemu option "serial", set serial=/dev/ttyS0 to acheive that
. But I remember that code had some defect before and not sure current
status.
Thanks
Yunhong Jiang
Dong, Eddie <> wrote:
> kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
>> Thanks. But I cannot use that since I am going to debug drivers
>> running on Windows and qemu does not expose the real hardware to
guest.
>>
>> So, here is another question, is there any plan to make qemu transfer
the
>> real hardware to guest?
>>
>
> I guess you are talking about serial port assignment which is another
story.
>
> Pass-through devices support is for PCI device only. For
> leagcy serial port,
> you don't need device assignment, I remember Yunhong Jiang
> ever posted a
> patch in Xen side to support Windows kernel debug. Basically you can
> direct vSerial port input/output to physical serial port
> easily in Qemu, but
> there are binary data format conversion tricky there if I
> remember correctly.
>
> CC yunhong here.
> Eddie
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and doremotedebugging?
[not found] ` <391BF3CDD2DC0848B40ACB72FA97AD59027677B6-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2007-11-16 9:59 ` Neo Jia
[not found] ` <5d649bdb0711160159v1bf515f7w5c03c13b0b7154b2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Neo Jia @ 2007-11-16 9:59 UTC (permalink / raw)
To: Jiang, Yunhong; +Cc: kvm-devel
On Nov 16, 2007 12:15 AM, Jiang, Yunhong <yunhong.jiang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> To achieve this, it mean QEMU will transfer serial port data write from
> guest to physical one, and also read data received through real physical
> serial port and transfer received data to guest.
>
> You can use qemu option "serial", set serial=/dev/ttyS0 to acheive that
> . But I remember that code had some defect before and not sure current
> status.
So, I think if I want to using a expansion 1394 firewire card on my
Linux machine it will goes to the following KVM todo list, right?
"Add a Unix domain socket device. With this, the guest can talk to a
pci device which is connected to a Unix domain socket on the host."
Thanks,
Neo
>
> Thanks
> Yunhong Jiang
>
>
> Dong, Eddie <> wrote:
> > kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote:
> >> Thanks. But I cannot use that since I am going to debug drivers
> >> running on Windows and qemu does not expose the real hardware to
> guest.
> >>
> >> So, here is another question, is there any plan to make qemu transfer
> the
> >> real hardware to guest?
> >>
> >
> > I guess you are talking about serial port assignment which is another
> story.
> >
> > Pass-through devices support is for PCI device only. For
> > leagcy serial port,
> > you don't need device assignment, I remember Yunhong Jiang
> > ever posted a
> > patch in Xen side to support Windows kernel debug. Basically you can
> > direct vSerial port input/output to physical serial port
> > easily in Qemu, but
> > there are binary data format conversion tricky there if I
> > remember correctly.
> >
> > CC yunhong here.
> > Eddie
>
--
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Can I run guest Windows inside Linux and doremotedebugging?
[not found] ` <5d649bdb0711160159v1bf515f7w5c03c13b0b7154b2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2007-11-16 11:33 ` Dong, Eddie
0 siblings, 0 replies; 10+ messages in thread
From: Dong, Eddie @ 2007-11-16 11:33 UTC (permalink / raw)
To: Neo Jia, Jiang, Yunhong; +Cc: kvm-devel
Neo Jia wrote:
> On Nov 16, 2007 12:15 AM, Jiang, Yunhong
> <yunhong.jiang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
>> To achieve this, it mean QEMU will transfer serial port data write
>> from guest to physical one, and also read data received through real
>> physical serial port and transfer received data to guest.
>>
>> You can use qemu option "serial", set serial=/dev/ttyS0 to acheive
>> that . But I remember that code had some defect before and not sure
>> current status.
>
> So, I think if I want to using a expansion 1394 firewire card on my
> Linux machine it will goes to the following KVM todo list, right?
>
Yes, 1394 can be assigned if pass-through support is done.
> "Add a Unix domain socket device. With this, the guest can talk to a
> pci device which is connected to a Unix domain socket on the host."
>
> Thanks,
> Neo
>
But for your dedicated purpose, I would say serial port is much
convenient
than assigned 1394 card except speed difference. BTW, why network
doesn;t work for you, are u debugging network driver?
You can also try using what Yunhong said. Maybe Qemu already picked
Yunhong's Xen patch.
Thx,Eddie
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-11-16 11:33 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 21:42 Can I run guest Windows inside Linux and do remote debugging? Neo Jia
[not found] ` <5d649bdb0711141342v21c1b2c6jd8f90a58b5c29bcd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-15 1:40 ` Can I run guest Windows inside Linux and do remotedebugging? Dong, Eddie
2007-11-15 7:54 ` Dor Laor
[not found] ` <473BFB2C.1060506-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-11-15 9:07 ` Neo Jia
[not found] ` <5d649bdb0711150107r63c7c3aeo928960bff5c396c5-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-15 9:49 ` Dor Laor
2007-11-15 10:30 ` Can I run guest Windows inside Linux and doremotedebugging? Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A026222E3-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-16 4:32 ` Neo Jia
2007-11-16 8:15 ` Jiang, Yunhong
[not found] ` <391BF3CDD2DC0848B40ACB72FA97AD59027677B6-wq7ZOvIWXbMgGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-11-16 9:59 ` Neo Jia
[not found] ` <5d649bdb0711160159v1bf515f7w5c03c13b0b7154b2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-11-16 11:33 ` Dong, Eddie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox