public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: John Wong <johnw@wonghome.net>
To: Mark McLoughlin <markmc@redhat.com>
Cc: Avi Kivity <avi@redhat.com>, KVM list <kvm@vger.kernel.org>
Subject: Re: [ANNOUNCE] kvm-83 release
Date: Wed, 14 Jan 2009 01:40:27 +0800	[thread overview]
Message-ID: <496CD20B.6020404@wonghome.net> (raw)
In-Reply-To: <1231867653.4290.196.camel@localhost.localdomain>

Hi Mark, i want to try, but i don't know where can download snapshot
source code,
i'm long time no use linux.
Where can i download kvm snapshot source code? kernel.org? or?

On 2009年01月14日 01:27, Mark McLoughlin wrote:
> Hi John,
>
> On Wed, 2009-01-14 at 00:15 +0800, John Wong wrote:
>   
>> Hi, i installed kvm-83 on xubuntu-amd64/kernel-2.6.7-11.
>> i notice some problem with -net downscript.
>> my kvm start up script like this:
>> qemu-system-x86_64 ... ... -net 
>> tap,ifname=tap0,script=/path/kvm-ifup,downscript=/path/kvm-ifdown
>> when the guest shutdown, kvm pass all argument to downscript.
>>
>> the command like this (kvm-83):
>> /path/kvm-ifdown
>> "tap0,script=/path/kvm-ifup,downscript=/path/kvm-ifdown"
>>
>> kvm-82 only pass tap0 to downscript like this:
>> /path/kvm-ifdown "tap0"
>>     
>
> Thanks for the report. Can you try this simple change and see if it
> fixes it for you?
>
> --- qemu/net.c
> +++ qemu/net.c
> @@ -1740,7 +1740,7 @@ void net_cleanup(void)
>                  TAPState *s = vc->opaque;
>  
>                  if (strcmp(vc->model, "tap") == 0 &&
> -                    sscanf(vc->info_str, "ifname=%63s ", ifname) == 1 &&
> +                    sscanf(vc->info_str, "ifname=%63s,", ifname) == 1 &&
>                      s->down_script[0])
>                      launch_script(s->down_script, ifname, s->fd);
>              }
>
> Thanks,
> Mark.
>
> --
> 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:[~2009-01-13 17:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 13:53 [ANNOUNCE] kvm-83 release Avi Kivity
2009-01-13 15:54 ` Farkas Levente
2009-01-15 14:00   ` Avi Kivity
2009-01-15 20:17     ` Farkas Levente
2009-01-13 16:15 ` John Wong
2009-01-13 17:27   ` Mark McLoughlin
2009-01-13 17:40     ` John Wong [this message]
2009-01-13 18:22       ` Amit Shah
2009-01-13 20:32     ` Michael Tokarev
2009-01-13 20:35       ` Michael Tokarev
2009-01-13 20:37         ` Anthony Liguori
2009-01-13 21:01           ` Michael Tokarev
2009-01-13 22:30             ` Mark McLoughlin

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=496CD20B.6020404@wonghome.net \
    --to=johnw@wonghome.net \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=markmc@redhat.com \
    /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