Skip to content

Commit

Permalink
ciao-launcher, qemu: Upgrade to new context package.
Browse files Browse the repository at this point in the history
Ciao will use the new standard library context package from now on.
This will allow us to use some of the new standard library functions
such as DialContext.

Partial fix for issue #541

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>
  • Loading branch information
Mark Ryan committed Sep 12, 2016
1 parent f572019 commit 5ccbaf2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples_test.go
Expand Up @@ -19,8 +19,9 @@ package qemu_test
import (
"time"

"context"

"github.com/01org/ciao/qemu"
"golang.org/x/net/context"
)

func Example() {
Expand Down
2 changes: 1 addition & 1 deletion qemu.go
Expand Up @@ -29,7 +29,7 @@ import (
"os"
"os/exec"

"golang.org/x/net/context"
"context"
)

// LaunchQemu can be used to launch a new qemu instance by invoking the
Expand Down
2 changes: 1 addition & 1 deletion qmp.go
Expand Up @@ -26,7 +26,7 @@ import (
"net"
"time"

"golang.org/x/net/context"
"context"
)

// QMPLog is a logging interface used by the qemu package to log various
Expand Down
2 changes: 1 addition & 1 deletion qmp_test.go
Expand Up @@ -26,7 +26,7 @@ import (
"testing"
"time"

"golang.org/x/net/context"
"context"

"github.com/01org/ciao/testutil"
)
Expand Down

0 comments on commit 5ccbaf2

Please sign in to comment.